conf.database-example.properties Maven / Gradle / Ivy
##############################################################################
# database configuration
##############################################################################
# oracle example
database.driver = oracle.jdbc.driver.OracleDriver
database.url = jdbc:oracle:oci8:/@SERVER
#database.url = jdbc:oracle:oci8:USER/PASSWORD@SERVER
#database.url = jdbc:oracle:thin:@SERVER:PORT:SID
database.username = user
database.password = password
# mysql example
#database.driver = com.mysql.jdbc.Driver
#database.url = jdbc:mysql://SERVER:3306/INSTANCE
#database.username = user
#database.password = password
# sql server example
#database.driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
#database.url = jdbc:microsoft:sqlserver://host:1433; databaseName=yourDatabaseName; selectMethod=cursor
#database.username = user
#database.password = password
# general settings
database.minConnections = 1
database.maxConnections = 20
database.errorTimeout = 1000
database.connectionTimeout = 10000
database.shrinkTimeout = 1000
database.numberOfConnectionsToShrink = quarter
database.logStatistic = true
database.logConfig = true
database.verbose = false