Last active
August 29, 2015 14:05
-
-
Save pedro-hos/65309606b60c899f4f8f to your computer and use it in GitHub Desktop.
standalone.xml PostgreSQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<datasource jta="true" jndi-name="java:jboss/datasources/PostgreSQLDS" pool-name="PostgreSQLDS" enabled="true" use-java-context="true"> | |
<connection-url>jdbc:postgresql://localhost:5432/SEU_BD_AQUI</connection-url> | |
<driver>postgresql</driver> | |
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation> | |
<pool> | |
<min-pool-size>10</min-pool-size> | |
<max-pool-size>100</max-pool-size> | |
<prefill>true</prefill> | |
</pool> | |
<security> | |
<user-name>SEU_USUARIO</user-name> | |
<password>SUA_SENHA</password> | |
</security> | |
<statement> | |
<prepared-statement-cache-size>32</prepared-statement-cache-size> | |
<share-prepared-statements>true</share-prepared-statements> | |
</statement> | |
</datasource> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment