Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <datasources>
- <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
- <connection-url>jdbc:mysql://localhost:3306/example2?useSSL=false</connection-url>
- <driver>mysql</driver>
- <security>
- <user-name>root</user-name>
- <password>test</password>
- </security>
- </datasource>
- <datasource jndi-name="java:jboss/datasources/testowa" pool-name="testowa" enabled="true" use-java-context="true">
- <connection-url>jdbc:mysql://localhost:3306/example2?useSSL=false</connection-url>
- <driver>mysql</driver>
- <security>
- <user-name>root</user-name>
- <password>test</password>
- </security>
- </datasource>
- <drivers>
- <driver name="h2" module="com.h2database.h2">
- <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
- </driver>
- <driver name="mysql" module="com.mysql.driver">
- <driver-class>com.mysql.jdbc.Driver</driver-class>
- </driver>
- </drivers>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement