|
@@ -44,26 +44,54 @@ application.langs="en"
|
|
|
# You can expose this datasource via JNDI if needed (Useful for JPA)
|
|
|
# db.default.jndiName=DefaultDS
|
|
|
|
|
|
-db.default.driver= com.mysql.jdbc.Driver
|
|
|
-db.default.url="jdbc:mysql://127.0.0.1:3306/hello_world?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useUnbufferedInput=false&useReadAheadInput=false&maintainTimeStats=false&useServerPrepStmts&cacheRSMetadata=true"
|
|
|
-db.default.user=benchmarkdbuser
|
|
|
-db.default.password=benchmarkdbpass
|
|
|
-db.default.jndiName=DefaultDS
|
|
|
-jpa.default=defaultPersistenceUnit
|
|
|
-
|
|
|
-db.default.partitionCount=4
|
|
|
-
|
|
|
-# The number of connections to create per partition. Setting this to
|
|
|
-# 5 with 3 partitions means you will have 15 unique connections to the
|
|
|
-# database..
|
|
|
-#
|
|
|
-# This value maps to the maximumPoolSize for HickariCP (db.default.partitionCount * db.default.maxConnectionsPerPartition)
|
|
|
-db.default.maxConnectionsPerPartition=64
|
|
|
+db {
|
|
|
+ default {
|
|
|
+
|
|
|
+ jndiName="DefaultDS"
|
|
|
+
|
|
|
+ dataSourceClassName=com.mysql.jdbc.jdbc2.optional.MysqlDataSource
|
|
|
+ dataSource {
|
|
|
+ user=benchmarkdbuser
|
|
|
+ password=benchmarkdbpass
|
|
|
+ databaseName=hello_world
|
|
|
+ serverName=127.0.0.1
|
|
|
+ port=3306
|
|
|
+
|
|
|
+ jdbcCompliantTruncation=false
|
|
|
+ elideSetAutoCommits=true
|
|
|
+ useLocalSessionState=true
|
|
|
+ cachePrepStmts=true
|
|
|
+ cacheCallableStmts=true
|
|
|
+ cacheServerConfiguration=true
|
|
|
+ cacheResultSetMetadata=true
|
|
|
+ alwaysSendSetIsolation=false
|
|
|
+ prepStmtCacheSize=4096
|
|
|
+ prepStmtCacheSqlLimit=2048
|
|
|
+ zeroDateTimeBehavior=convertToNull
|
|
|
+ traceProtocol=false
|
|
|
+ useUnbufferedInput=false
|
|
|
+ useReadAheadInput=false
|
|
|
+ maintainTimeStats=false
|
|
|
+ useServerPrepStmts=true
|
|
|
+ }
|
|
|
+
|
|
|
+ partitionCount=4
|
|
|
+
|
|
|
+ # The number of connections to create per partition. Setting this to
|
|
|
+ # 5 with 3 partitions means you will have 15 unique connections to the
|
|
|
+ # database.
|
|
|
+
|
|
|
+ # This value maps to the maximumPoolSize for HickariCP (db.default.partitionCount * db.default.maxConnectionsPerPartition)
|
|
|
+ maxConnectionsPerPartition=64
|
|
|
+
|
|
|
+ # The number of initial connections, per partition.
|
|
|
+ #
|
|
|
+ # This maps to the minimumIdle connections for HikariCP (db.default.partitionCount * db.default.minConnectionsPerPartition)
|
|
|
+ minConnectionsPerPartition=64
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
-# The number of initial connections, per partition.
|
|
|
-#
|
|
|
-# This maps to the minimumIdle connections for HikariCP (db.default.partitionCount * db.default.minConnectionsPerPartition)
|
|
|
-db.default.minConnectionsPerPartition=64
|
|
|
+jpa.default=defaultPersistenceUnit
|
|
|
|
|
|
dbplugin=disabled
|
|
|
|