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:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url>
- <driver>h2</driver>
- <security>
- <user-name>sa</user-name>
- <password>sa</password>
- </security>
- </datasource>
- <datasource jndi-name="java:jboss/banco" pool-name="BancoDS" enabled="true" use-java-context="true">
- <connection-url>jdbc:derby://localhost/sample;create=true</connection-url>
- <driver>derby</driver>
- <security>
- <user-name>curso</user-name>
- <password>curso</password>
- </security>
- </datasource>
- <drivers>
- <driver name="h2" module="com.h2database.h2">
- <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
- </driver>
- <driver name="derby" module="org.apache.derby">
- <xa-datasource-class>org.apache.derby.jdbc.ClientXADataSource</xa-datasource-class>
- </driver>
- </drivers>
- </datasources>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement