Deploying the NuoDB Java Hibernate Dialect with JBoss

The following instructions are for deploying the NuoDB Java Hibernate Dialect with JBoss.

  1. Copy nuodb-hibernate.jar to JBoss_Install_Dir/modules/org/hibernate/main.
  2. In the Hibernate module in JBoss_Install_Dir/modules/org/hibernate/main/module.xml, add the line
    <resource-root path="nuodb-hibernate.jar"/>
  3. Copy nuodb-jdbc.jar to JBoss_Install_Dir/modules/com/nuodb/jdbc/main.
  4. Edit JBoss_Install_Dir/modules/com/nuodb/jdbc/main/module.xml and add:
    <?xml version=1.0" encoding="UTF-8"?>
    <module xmlns="urn:jboss:module:1.0" name="com.nuodb.jdbc">
        <resources>
            <resource-root path="nuodbjdbc.jar"/>
        </resources>
        <dependencies>
            <module name="javax.api"/>
            <module name="javax.transaction.api"/>
        </dependencies>
    </module>