Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <module xmlns="urn:jboss:module:1.0" name="org.postgresql">
- <resources>
- <resource-root path="postgresql-9.4.1212.jar"/>
- </resources>
- <dependencies>
- <module name="javax.api"/>
- <module name="javax.transaction.api"/>
- </dependencies>
- </module>
- <datasources>
- <datasource jndi-name="java:jboss/datasources/PostgresDS" pool-name="PostgresDS" enabled="true" use-java-context="true">
- <connection-url>jdbc:postgresql://localhost:5432/u2d</connection-url>
- <driver>org.postgresql</driver>
- <security>
- <user-name>postgres</user-name>
- <password>postgres</password>
- </security>
- </datasource>
- </datasources>
- <drivers>
- <driver name="org.postgresql" module="org.postgresql">
- <xa-datasource-class>org.postgresql.Driver</xa-datasource-class>
- </driver>
- </drivers>
Add Comment
Please, Sign In to add comment