I am using hibernate in my spring mvc project and I want to connect to oracle 12c database. I used org.hibernate.dialect.Oracle12cDialect , but that returns me org.hibernate.boot.registry.selector.spi.StrategySelectionException: Unable to resolve name [org.hibernate.dialect.Oracle12cDialect] as strategy [org.hibernate.dialect.Dialect] . How to set dialect for oracle 12c? I am using hibernate 4.3.9 .
org.hibernate.dialect.Oracle12cDialect
org.hibernate.boot.registry.selector.spi.StrategySelectionException: Unable to resolve name [org.hibernate.dialect.Oracle12cDialect] as strategy [org.hibernate.dialect.Dialect]
4.3.9
Try using org.hibernate.dialect.Oracle10gDialect , it seems to be the highest version in Hibernate 4.3.9 .
org.hibernate.dialect.Oracle10gDialect
The dialect for 12c seems to be present in later versions, see this .
org.hibernate.dialect.Oracle12cDialect can be used with version 5.2 with kernel hibernation
See: https://docs.jboss.org/hibernate/orm/5.2/javadocs/org/hibernate/dialect/Oracle12cDialect.html
Check out these links if this helps:
https://hibernate.atlassian.net/browse/HHH-8843
https://github.com/hibernate/hibernate-orm/pull/651