Advertisement
Guest User

Untitled

a guest
May 5th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. <datasource jta="true" jndi-name="java:/genericCon" pool-name="UftDS" enabled="true" use-ccm="true">
  2. <connection-url>jdbc:postgresql://localhost:5432/uft</connection-url>
  3. <driver-class>org.postgresql.Driver</driver-class>
  4. <driver>postgresql-9.4-1201.jdbc41.jar</driver>
  5. <pool>
  6. <min-pool-size>1</min-pool-size>
  7. <initial-pool-size>4</initial-pool-size>
  8. <max-pool-size>20</max-pool-size>
  9. </pool>
  10. <security>
  11. <user-name>postgres</user-name>
  12. <password>1234</password>
  13. </security>
  14. <validation>
  15. <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLValidConnectionChecker"/>
  16. <background-validation>true</background-validation>
  17. <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLExceptionSorter"/>
  18. </validation>
  19. </datasource>
  20. <drivers>
  21. <driver name="h2" module="com.h2database.h2">
  22. <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
  23. </driver>
  24. </drivers>
  25. </datasources>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement