
Oracle 11G R2 Hibernate
Things you should know if you are using Hibernate with Oracle 11G R2. Sep 26
Get flash to fully experience Pearltrees
[#HHH-3359] Loader leaks memory when ResultSet wrapping is enabled - Hibernate JIRA
java.sql.SQLException: Protocol
HI all, This has worked fine for very long, but starting a few days ago I started getting this error everytime the code tries to write (insert or update) into the db: java.sql.SQLException: Protocol violation The oracle code error is 17401With Oracle 11g, the deprecated package oracle.jdbc.driver no longer exists and this causes issues with all OracleDialect classes making it impossible to use Hibernate. This issue affects all of the following classes: Oracle9iDialect.java Oracle9Dialect.java Oracle10gDialect.java The line error in question is: Class types = ReflectHelper.classForName("oracle.jdbc.driver.OracleTypes"); This simply needs to be changed to: Class types = ReflectHelper.classForName("oracle.jdbc.OracleTypes"); From the Oracle 11g readme.txt
[#HHH-3159] Oracle 11g - desupport of oracle.jdbc.driver - Hibernate JIRA
We are using hibernet3.2.1, jboss 4.2.3 cp 09, jdk1.5, Oracle10G and 11G

