Advertisement
Guest User

Untitled

a guest
Jul 10th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 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:mysql://localhost:3306/example2?useSSL=false</connection-url>
  4. <driver>mysql</driver>
  5. <security>
  6. <user-name>root</user-name>
  7. <password>test</password>
  8. </security>
  9. </datasource>
  10. <datasource jndi-name="java:jboss/datasources/testowa" pool-name="testowa" enabled="true" use-java-context="true">
  11. <connection-url>jdbc:mysql://localhost:3306/example2?useSSL=false</connection-url>
  12. <driver>mysql</driver>
  13. <security>
  14. <user-name>root</user-name>
  15. <password>test</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="mysql" module="com.mysql.driver">
  23. <driver-class>com.mysql.jdbc.Driver</driver-class>
  24. </driver>
  25. </drivers>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement