mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 14:55:28 +00:00
#1232 - Performance: Add support for a second read-only DataSource (for implicit query-only transactions)
This commit is contained in:
1 parent
01539091ef
commit
932986a6b5
27 files changed
+1128
-100
No files matched your search
@@ -20,6 +20,8 @@ ebean.ddl.run=true
|
||||
ebean.packages=org.tests
|
||||
datasource.default=h2
|
||||
|
||||
ebean.autoReadOnlyDataSource=true
|
||||
|
||||
#ebean.persistBatch=NONE
|
||||
|
||||
#ebean.h2.idType=SEQUENCE
|
||||
@@ -60,7 +62,7 @@ datasource.h2.minConnections=1
|
||||
datasource.h2.maxConnections=25
|
||||
#datasource.h2.heartbeatsql=select 1
|
||||
#datasource.h2.isolationlevel=read_committed
|
||||
datasource.h2.capturestacktrace=true
|
||||
#datasource.h2.capturestacktrace=true
|
||||
datasource.h2.maxStackTraceSize=20
|
||||
datasource.h2.poolListener=org.tests.basic.MyTestDataSourcePoolListener
|
||||
#datasource.h2.customProperties=IGNORECASE=TRUE;MODE=Oracle;
|
||||
@@ -121,7 +123,7 @@ 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.capturestacktrace=true
|
||||
datasource.pg.maxStackTraceSize=50
|
||||
|
||||
#TODO we need an sqlserver for travis - maybe from azure cloud
|
||||
|
||||
Reference in new issue
Block a user