Oracle 数据库 11g 的 Hibernate 方言?

2021-12-30 00:00:00 oracle11g oracle Hibernate

是否有适用于 Oracle Database 11g 的 Hibernate 方言?或者我应该使用 Hibernate 附带的 org.hibernate.dialect.Oracle10gDialect 吗?

Is there a Hibernate dialect for Oracle Database 11g? Or should I use the org.hibernate.dialect.Oracle10gDialect that ships with Hibernate?

推荐答案

使用 Oracle 10g 方言.最近的 JDBC 驱动程序也需要 Hibernate 3.3.2+(内部类结构发生了变化 - 症状会抱怨抽象类).

Use the Oracle 10g dialect. Also Hibernate 3.3.2+ is required for recent JDBC drivers (the internal class structure changed - symptoms will be whining about an abstract class).

Oracle 11g 的方言与 Oracle 10g 相同(org.hibernate.dialect.Oracle10gDialect).来源:http://docs.jboss.org/hibernate/orm/3.6/reference/en-US/html/session-configuration.html#configuration-optional-dialects

Dialect of Oracle 11g is same as Oracle 10g (org.hibernate.dialect.Oracle10gDialect). Source: http://docs.jboss.org/hibernate/orm/3.6/reference/en-US/html/session-configuration.html#configuration-optional-dialects

相关文章