Guest User

Untitled

a guest
Oct 27th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <module xmlns="urn:jboss:module:1.0" name="org.postgresql">
  3. <resources>
  4. <resource-root path="postgresql-9.4.1212.jar"/>
  5. </resources>
  6. <dependencies>
  7. <module name="javax.api"/>
  8. <module name="javax.transaction.api"/>
  9. </dependencies>
  10. </module>
  11.  
  12. <datasources>
  13. <datasource jndi-name="java:jboss/datasources/PostgresDS" pool-name="PostgresDS" enabled="true" use-java-context="true">
  14. <connection-url>jdbc:postgresql://localhost:5432/u2d</connection-url>
  15. <driver>org.postgresql</driver>
  16. <security>
  17. <user-name>postgres</user-name>
  18. <password>postgres</password>
  19. </security>
  20. </datasource>
  21. </datasources>
  22.  
  23. <drivers>
  24. <driver name="org.postgresql" module="org.postgresql">
  25. <xa-datasource-class>org.postgresql.Driver</xa-datasource-class>
  26. </driver>
  27. </drivers>
Add Comment
Please, Sign In to add comment