我在Hikaricp中使用此配置:
"xyz (== 1.9.1)"
我需要知道Hiknate与Hibernate和Oracle Enterprise Edition 11g的最佳配置或配置参数是什么,因为当我尝试对数据库执行更新并以字节为单位保存pdf文件时出现以下异常使用SerialBlob。
<hibernate-configuration>
<session-factory>
<property
name="hibernate.dialect">org.hibernate.dialect.Oracle9iDialect</property>
<property name="hibernate.connection.provider_class">com.zaxxer.hikari.hibernate.HikariConnectionProvider</property>
<property name="hibernate.transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
<property name="hibernate.current_session_context_class">thread</property>
<property name="hibernate.hikari.dataSourceClassName">oracle.jdbc.pool.OracleDataSource</ property>
<property name="hibernate.hikari.dataSource.url">URL</property>
<property name="hibernate.hikari.dataSource.user">USER</property>
<property name="hibernate.hikari.dataSource.password">PASSWORD</property>
</session-factory>
</hibernate-configuration>