I transferred one project with Hibernate 3 to Hibernate 3.2, when i run it i got such Exception:
Caused by: org.hibernate.HibernateException: unknown Oracle major version [0]
........
Solution:
I was using the old Oracle classes12.jar driver lib, this could to be an issue for Hibernate 3.2 where OracleDriver.getMajorVersion returns 0, this in turn confuses hibernate.
Upgrade classes12.jar to ojdbc14.jar fixed the problem.
Refer:
https://forum.hibernate.org/viewtopic.php?p=2373597
Comments
Post new comment