Created
September 28, 2016 16:51
-
-
Save ehsanullahjan/7080b13a1e2a71e71e7602bac4e7e987 to your computer and use it in GitHub Desktop.
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
# PostgreSQL | |
xa-data-source add --name={{data-source-name}} --jndi-name={{jndi-name}} --driver-name=postgres --user-name={{username}} --password={{password}} --use-java-context=true --min-pool-size=1 --max-pool-size=10 --idle-timeout-minutes=3 --background-validation=false --validate-on-match=true --valid-connection-checker-class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLValidConnectionChecker" --exception-sorter-class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLExceptionSorter" --xa-datasource-properties={ServerName={{host}},PortNumber=5432,DatabaseName={{database}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment