Advertisement
Guest User

datasource

a guest
Aug 1st, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. <datasource jndi-name="java:jboss/datasources/PULPO_CONTABLE_DB" pool-name="PulpoDB" enabled="true" use-java-context="true">
  2. <connection-url>jdbc:postgresql://localhost:5432/pulpo_db</connection-url>
  3. <driver-class>org.postgresql.Driver</driver-class>
  4. <driver>postgresql-driver</driver>
  5. <pool>
  6. <min-pool-size>2</min-pool-size>
  7. <max-pool-size>20</max-pool-size>
  8. <prefill>true</prefill>
  9. </pool>
  10. <security>
  11. <user-name>pulpo_db_user</user-name>
  12. <password>elpaipatinero</password>
  13. </security>
  14. <validation>
  15. <check-valid-connection-sql>SELECT 1</check-valid-connection-sql>
  16. <validate-on-match>false</validate-on-match>
  17. <background-validation>false</background-validation>
  18. <use-fast-fail>false</use-fast-fail>
  19. </validation>
  20. </datasource>
  21. <drivers>
  22. <driver name="h2" module="com.h2database.h2">
  23. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  24. </driver>
  25. <driver name="postgresql-driver" module="org.postgresql"/>
  26. </drivers>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement