Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <datasource jndi-name="java:/MySqlDS" pool-name="MySqlDS" enabled="true" use-java-context="true">
- <connection-url>
- jdbc:mysql://localhost:3306/EJB3
- </connection-url>
- <driver-class>
- com.mysql.jdbc.Driver
- </driver-class>
- <driver>
- com.mysql.jdbc.Driver#5.1
- </driver>
- <transaction-isolation>
- TRANSACTION_READ_COMMITTED
- </transaction-isolation>
- <pool>
- <min-pool-size>
- 200
- </min-pool-size>
- <max-pool-size>
- 300
- </max-pool-size>
- <prefill>
- true
- </prefill>
- <use-strict-min>
- false
- </use-strict-min>
- </pool>
- <security>
- <user-name>
- test
- </user-name>
- <password>
- test
- </password>
- </security>
- <validation>
- <validate-on-match>
- false
- </validate-on-match>
- <background-validation>
- false
- </background-validation>
- <useFastFail>
- false
- </useFastFail>
- </validation>
- <statement>
- <prepared-statement-cache-size>
- 100
- </prepared-statement-cache-size>
- <share-prepared-statements/>
- </statement>
- </datasource>
- <datasource jndi-name="java:/h2test" pool-name="h2test" enabled="true" use-java-context="true">
- <connection-url>
- jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
- </connection-url>
- <driver-class>
- org.h2.Driver
- </driver-class>
- <module>
- org.h2.Driver#1.2
- </module>
- <pool>
- <prefill>
- true
- </prefill>
- <use-strict-min>
- false
- </use-strict-min>
- </pool>
- <security>
- <user-name>
- sa
- </user-name>
- <password>
- sa
- </password>
- </security>
- <validation>
- <validate-on-match>
- false
- </validate-on-match>
- <background-validation>
- false
- </background-validation>
- <useFastFail>
- false
- </useFastFail>
- </validation>
- <statement/>
- </datasource>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement