apiman/apiman — pull request #46 by discolo (2014-12-26 15:26:52+00:00)
Title: Apiman 182

Added DDL generated by Hibernate and latest jdbc driver for postgres along with a sample configuration of the datasource.

In order to work with the sequences I found that the IDENTITY strategy had to be used.

To make the configuration work I had to add the module and the jdbc-driver to wildfly. This can be done either manually or through the jboss-cli. In my case I preferred the last option. Here follows the commands used:

module add --name=org.postgresql --resources=/tmp/postgresql-9.3-1102.jdbc41.jar --dependencies=javax.api,javax.transaction.api

/subsystem=datasources/jdbc-driver=postgresql-9.3-1102.jdbc41.jar_org.postgresql.Driver_9_3:add(driver-name="postgresql-9.3-1102.jdbc41.jar_org.postgresql.Driver_9_3",driver-module-name="org.postgresql",driver-class-name=org.postgresql.Driver