mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
216 lines
7.6 KiB
Properties
216 lines
7.6 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.disableL2Cache=true
|
|
#ebean.autoTune.queryTuning=true
|
|
#ebean.autoTune.mode=DEFAULT_ON
|
|
#ebean.autoTune.profiling=true
|
|
#ebean.autoTune.profilingUpdateFrequency=5
|
|
|
|
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.dumpMetricsOnShutdown=true
|
|
ebean.dumpMetricsOptions=sql,hash
|
|
|
|
ebean.collectQueryPlans=true
|
|
|
|
ebean.autoReadOnlyDataSource=true
|
|
|
|
#ebean.persistBatch=NONE
|
|
|
|
#ebean.h2.idType=SEQUENCE
|
|
|
|
ebean.mappingLocations=classpath:/ebean-xml-mappings
|
|
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.db.username=sa
|
|
datasource.db.password=
|
|
datasource.db.databaseUrl=jdbc:h2:file:~/tests
|
|
datasource.db.databaseDriver=org.h2.Driver
|
|
|
|
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.h2autocommit2.autoCommit=true
|
|
datasource.h2autocommit2.username=sa
|
|
datasource.h2autocommit2.password=
|
|
datasource.h2autocommit2.databaseUrl=jdbc:h2:mem:autocommit2tests
|
|
datasource.h2autocommit2.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
|
|
|
|
# Set caseSensitiveCollation to false when using
|
|
# MySql with case insenstive collation
|
|
#ebean.mysql.caseSensitiveCollation=false
|
|
datasource.mysql.username=unit
|
|
datasource.mysql.password=unit
|
|
datasource.mysql.databaseUrl=jdbc:mysql://127.0.0.1:4306/unit
|
|
#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.cj.jdbc.Driver
|
|
|
|
datasource.cockroach.username=root
|
|
datasource.cockroach.password=
|
|
datasource.cockroach.url=jdbc:postgresql://localhost:26257/unit?sslmode=disable
|
|
datasource.cockroach.driver=org.postgresql.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
|
|
# Our main testing target for SqlServer is sqlserver17
|
|
ebean.sqlserver.databasePlatformName=sqlserver17
|
|
|
|
# set caseSensitiveCollation=false when using a
|
|
# case insenstive collation with sql server - See main.StartSqlServer
|
|
#ebean.sqlserver.caseSensitiveCollation=false
|
|
datasource.sqlserver.username=test_ebean
|
|
datasource.sqlserver.password=SqlS3rv#r
|
|
datasource.sqlserver.url=jdbc:sqlserver://localhost:1433;databaseName=test_ebean;sendTimeAsDateTime=false
|
|
datasource.sqlserver.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
|
datasource.nuodb.schema=test_user
|
|
datasource.nuodb.username=test_user
|
|
datasource.nuodb.password=test
|
|
datasource.nuodb.url=jdbc:com.nuodb://localhost/unit
|
|
datasource.nuodb.driver=com.nuodb.jdbc.Driver
|
|
|
|
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
|
|
|
|
datasource.hana.username=EBEAN_TEST
|
|
datasource.hana.password=Eb3an_test
|
|
datasource.hana.databaseUrl=jdbc:sap://hxehost:39013/?databaseName=HXE
|
|
datasource.hana.databaseDriver=com.sap.db.jdbc.Driver
|
|
|
|
# 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
|
|
|
|
# parameters for migration test
|
|
datasource.migrationtest-history.username=SA
|
|
datasource.migrationtest-history.password=SA
|
|
datasource.migrationtest-history.databaseUrl=jdbc:h2:mem:migration
|
|
datasource.migrationtest-history.databaseDriver=org.h2.Driver
|
|
ebean.migrationtest-history.applyPrefix=V
|
|
ebean.migrationtest-history.ddl.generate=false
|
|
ebean.migrationtest-history.ddl.run=false
|
|
ebean.migrationtest-history.ddl.header=-- Migrationscripts for ebean unittest DbMigrationDropHistoryTest
|
|
ebean.migrationtest-history.migration.appName=migrationtest-history
|
|
ebean.migrationtest-history.migration.migrationPath=dbmigration/migrationtest-history
|
|
ebean.migrationtest-history.migration.strict=true
|