|
@@ -21,15 +21,11 @@
|
|
|
|
|
|
<!-- Connection Pooling settings -->
|
|
|
<property name="hibernate.connection.provider_class" value="org.hibernate.hikaricp.internal.HikariCPConnectionProvider" />
|
|
|
- <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect" />
|
|
|
<property name="hibernate.cache.use_query_cache" value="false" />
|
|
|
- <property name="hibernate.hikari.minimumIdle" value="256" />
|
|
|
- <property name="hibernate.hikari.maximumPoolSize" value="256" />
|
|
|
- <property name="hibernate.hikari.idleTimeout" value="30000" />
|
|
|
- <property name="hibernate.hikari.dataSourceClassName" value="com.mysql.jdbc.jdbc2.optional.MysqlDataSource" />
|
|
|
- <property name="hibernate.hikari.dataSource.url" value="jdbc:mysql://localhost: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" />
|
|
|
- <property name="hibernate.hikari.dataSource.user" value="benchmarkdbuser" />
|
|
|
- <property name="hibernate.hikari.dataSource.password" value="benchmarkdbpass" />
|
|
|
+ <property name="hibernate.minimumIdle" value="256" />
|
|
|
+ <property name="hibernate.maximumPoolSize" value="256" />
|
|
|
+ <property name="hibernate.idleTimeout" value="30000" />
|
|
|
+ <property name="hibernate.dataSourceClassName" value="org.h2.jdbcx.JdbcDataSource" />
|
|
|
</properties>
|
|
|
</persistence-unit>
|
|
|
|