Guest User

Untitled

a guest
Nov 6th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. <datasource jta="false" jndi-name="java:/NombreDatasourceDS" pool-name="NombreDatasourceDS" enabled="true" use-ccm="false">
  2. <connection-url>jdbc:mysql://127.0.0.1:3306/nombre_base_datos</connection-url>
  3. <driver-class>com.mysql.jdbc.Driver</driver-class>
  4. <driver>mysql</driver>
  5. <pool>
  6. <min-pool-size>1</min-pool-size>
  7. <max-pool-size>200</max-pool-size>
  8. </pool>
  9. <security>
  10. <user-name>root</user-name>
  11. </security>
  12. <validation>
  13. <validate-on-match>false</validate-on-match>
  14. <background-validation>true</background-validation>
  15. </validation>
  16. <timeout>
  17. <set-tx-query-timeout>false</set-tx-query-timeout>
  18. <blocking-timeout-millis>0</blocking-timeout-millis>
  19. <idle-timeout-minutes>60</idle-timeout-minutes>
  20. <query-timeout>0</query-timeout>
  21. <use-try-lock>0</use-try-lock>
  22. <allocation-retry>0</allocation-retry>
  23. <allocation-retry-wait-millis>0</allocation-retry-wait-millis>
  24. </timeout>
  25. <statement>
  26. <share-prepared-statements>false</share-prepared-statements>
  27. </statement>
  28. </datasource>
Add Comment
Please, Sign In to add comment