Add HyperSQL module to JBoss

:heavy_exclamation_mark: This post is older than a year. Consider some information might not be accurate anymore. :heavy_exclamation_mark:

This post explains how to create a hsqldb module for JBoss EAP.

Admin CLI

This CLI instruction will copy the JDBC jar into the created module folder. As dependencies the Java EE APIs are referenced.

module add --name=org.hsqldb.jdbcDriver \
 --resources=C:\Daten\lib\hsqldb.jar \

Manual installation

Create the following module for HSQLDB under JBOSS_HOME/modules


Contents of module.xml

<module xmlns="urn:jboss:module:1.0" name="org.hsqldb">
    <resource-root path="hsqldb.jar"/>
    <module name="javax.api"/>
    <module name="javax.transaction.api"/>

Copy the hsqldb.jar in the folder main. Configuration: Add in standalone.xml following datasource

<datasource jndi-name="java:/testHSQLMem" pool-name="testHSQLMem"
 enabled="true" use-java-context="true">
 <driver name="hsqldb" module="org.hsqldb">