Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. <datasources>
  2. <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
  3. <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url>
  4. <driver>h2</driver>
  5. <security>
  6. <user-name>sa</user-name>
  7. <password>sa</password>
  8. </security>
  9. </datasource>
  10. <datasource jndi-name="java:jboss/banco" pool-name="BancoDS" enabled="true" use-java-context="true">
  11. <connection-url>jdbc:derby://localhost/sample;create=true</connection-url>
  12. <driver>derby</driver>
  13. <security>
  14. <user-name>curso</user-name>
  15. <password>curso</password>
  16. </security>
  17. </datasource>
  18. <drivers>
  19. <driver name="h2" module="com.h2database.h2">
  20. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  21. </driver>
  22. <driver name="derby" module="org.apache.derby">
  23. <xa-datasource-class>org.apache.derby.jdbc.ClientXADataSource</xa-datasource-class>
  24. </driver>
  25. </drivers>
  26. </datasources>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement