I need to know what are the connection caching properties, im using Oracle 11g Enterprise Edition and Express Edition, Hibernate and HikariCP.
I put these properties in my hibernate.cfg but i get an exception:
<property name="hikari.dataSource.cachePrepStmts">true</property>
<property name="hikari.dataSource.prepStmtCacheSize">250</property>
<property name="hikari.dataSource.prepStmtCacheSqlLimit">2048</property>
<property name="hikari.dataSource.useServerPrepStmts">true</property>
Those properties are MySQL properties; Oracle is different. Try:
<property name="hikari.dataSource.implicitCachingEnabled">true</property>
<property name="hikari.dataSource.maxStatements">250</property>
See this page for details.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.