Files
ebean/src/test/resources/ebean.properties
T

160 lines
5.3 KiB
Properties

## -------------------------------------------------------------
## Load (Dev/Test/Prod) server specific properties
## -------------------------------------------------------------
## This is a possible alternative to using JNDI to set environment
## properties externally (to the WAR file). This is another way
## your Dev, Test and Prod servers can have different properties.
#load.properties=${HOME}/config/myapp.ebean.properties
ebean.encryptKeyManager=org.tests.basic.encrypt.BasicEncyptKeyManager
#ebean.autotune.querytuning=true
#ebean.autotune.profiling=true
#ebean.autotune.profilingUpdateFrequency=5
#ebean.sqlserver.ddl.createOnly=true
ebean.ddl.generate=true
ebean.ddl.run=true
ebean.ddl.header=-- Generated by ebean ${version} at ${timestamp}
ebean.packages=org.tests
datasource.default=h2
ebean.autoReadOnlyDataSource=true
#ebean.persistBatch=NONE
#ebean.h2.idType=SEQUENCE
ebean.currentUserProvider=io.ebean.MyCurrentUserProvider
#ebean.expressionNativeIlike=true
#ebean.jsonInclude=NON_NULL
#ebean.cluster.type=mcast
#ebean.cluster.mcast.listen.port=9768
#ebean.cluster.mcast.listen.address=235.1.1.1
#ebean.cluster.mcast.listen.disableLoopback=false
#ebean.cluster.mcast.send.port=9766
##ebean.debug.remotetransaction=true
#ebean.cluster.debuglevel=1
#ebean.uuidStoreAsBinary=true
ebean.cacheWarmingDelay=-1
##ebean.transaction.rollbackOnChecked=false
ebean.migration.appName=myapp
ebean.migration.migrationPath=dbmigration/myapp
## -------------------------------------------------------------
## DataSources (If using default Ebean DataSourceFactory)
## -------------------------------------------------------------
datasource.h2.username=sa
datasource.h2.password=
datasource.h2.databaseUrl=jdbc:h2:mem:tests
datasource.h2.databaseDriver=org.h2.Driver
datasource.h2.minConnections=1
datasource.h2.maxConnections=25
#datasource.h2.heartbeatsql=select 1
#datasource.h2.isolationlevel=read_committed
#datasource.h2.capturestacktrace=true
datasource.h2.maxStackTraceSize=20
datasource.h2.poolListener=org.tests.basic.MyTestDataSourcePoolListener
#datasource.h2.customProperties=IGNORECASE=TRUE;MODE=Oracle;
datasource.h2multitenant.username=sa
datasource.h2multitenant.password=
datasource.h2multitenant.url=jdbc:h2:mem:h2multitenant
datasource.h2multitenant.driver=org.h2.Driver
datasource.h2autocommit.autoCommit=true
datasource.h2autocommit.username=sa
datasource.h2autocommit.password=
datasource.h2autocommit.databaseUrl=jdbc:h2:mem:autocommittests
datasource.h2autocommit.databaseDriver=org.h2.Driver
datasource.h2other.username=sa
datasource.h2other.password=
datasource.h2other.databaseUrl=jdbc:h2:mem:h2other
datasource.h2other.databaseDriver=org.h2.Driver
datasource.h2otherfind.username=sa
datasource.h2otherfind.password=
datasource.h2otherfind.databaseUrl=jdbc:h2:mem:h2otherfind
datasource.h2otherfind.databaseDriver=org.h2.Driver
datasource.h2ebasicver.username=sa
datasource.h2ebasicver.password=
datasource.h2ebasicver.databaseUrl=jdbc:h2:mem:h2ebasicver
datasource.h2ebasicver.databaseDriver=org.h2.Driver
datasource.h2ebasicver2.username=sa
datasource.h2ebasicver2.password=
datasource.h2ebasicver2.databaseUrl=jdbc:h2:mem:h2ebasicver
datasource.h2ebasicver2.databaseDriver=org.h2.Driver
datasource.sqlite.username=
datasource.sqlite.password=
datasource.sqlite.databaseUrl=jdbc:sqlite:mydb.db
datasource.sqlite.databaseDriver=org.sqlite.JDBC
datasource.sqlite.isolationlevel=read_uncommitted
datasource.hsqldb.username=sa
datasource.hsqldb.password=
datasource.hsqldb.databaseUrl=jdbc:hsqldb:mem:tests
datasource.hsqldb.databaseDriver=org.hsqldb.jdbcDriver
datasource.mysql.username=test_ebean
datasource.mysql.password=test
datasource.mysql.databaseUrl=jdbc:mysql://127.0.0.1:4306/test_ebean
datasource.mysql.databaseDriver=com.mysql.jdbc.Driver
datasource.oracle.username=test_ebean
datasource.oracle.password=test
datasource.oracle.databaseUrl=jdbc:oracle:thin:@localhost:1521:XE
datasource.oracle.databaseDriver=oracle.jdbc.driver.OracleDriver
## set this to use timestamp rather than timestamptz
#ebean.postgres.timestamp=timestamp
datasource.pg.username=unit
datasource.pg.password=unit
datasource.pg.databaseUrl=jdbc:postgresql://127.0.0.1:5432/unit
datasource.pg.databaseDriver=org.postgresql.Driver
#datasource.pg.capturestacktrace=true
datasource.pg.maxStackTraceSize=50
ebean.sqlserver.idType=SEQUENCE
datasource.sqlserver.username=test_ebean
datasource.sqlserver.password=SqlS3rv#r
datasource.sqlserver.databaseUrl=jdbc:sqlserver://localhost:1433;databaseName=test_ebean
datasource.sqlserver.databaseDriver=com.microsoft.sqlserver.jdbc.SQLServerDriver
datasource.db2.username=db2admin
datasource.db2.password=veryverysecret#1234
datasource.db2.databaseUrl=jdbc:db2://127.0.0.1:50000/SAMPLE
datasource.db2.databaseDriver=com.ibm.db2.jcc.DB2Driver
# parameters for migration test
datasource.migrationtest.username=SA
datasource.migrationtest.password=SA
datasource.migrationtest.databaseUrl=jdbc:h2:mem:migration
datasource.migrationtest.databaseDriver=org.h2.Driver
ebean.migrationtest.applyPrefix=V
ebean.migrationtest.ddl.generate=false
ebean.migrationtest.ddl.run=false
ebean.migrationtest.ddl.header=-- Migrationscripts for ebean unittest
ebean.migrationtest.migration.appName=migrationtest
ebean.migrationtest.migration.migrationPath=dbmigration/migrationtest
ebean.migrationtest.migration.strict=true