|
@@ -7,8 +7,8 @@
|
|
|
<persistence-unit name="mysql" transaction-type="RESOURCE_LOCAL">
|
|
|
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
|
|
|
<properties>
|
|
|
- <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver" />
|
|
|
- <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect" />
|
|
|
+ <property name="hibernate.connection.driver_class" value="com.mysql.cj.jdbc.Driver" />
|
|
|
+ <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL8Dialect" />
|
|
|
<property name="hibernate.show_sql" value="false" />
|
|
|
<property name="hibernate.format_sql" value="false" />
|
|
|
<property name="hibernate.jdbc.batch_size" value="100" />
|
|
@@ -17,9 +17,11 @@
|
|
|
<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.dataSource.url" value="jdbc:mysql://tfb-database:3306/hello_world?useSSL=false&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" />
|
|
|
+
|
|
|
+<!-- It seems these settings are comming from the application.conf -->
|
|
|
+ <!-- <property name="hibernate.hikari.dataSource.url" value="jdbc:mysql://tfb-database:3306/hello_world?useSSL=false&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=true&cacheRSMetadata=true" />
|
|
|
<property name="hibernate.hikari.dataSource.user" value="benchmarkdbuser" />
|
|
|
- <property name="hibernate.hikari.dataSource.password" value="benchmarkdbpass" />
|
|
|
+ <property name="hibernate.hikari.dataSource.password" value="benchmarkdbpass" /> -->
|
|
|
</properties>
|
|
|
</persistence-unit>
|
|
|
|