java - an issue with compatibility: old jboss/hibernate vs Oracle 12c -
i'm oracle-dba trying upgrade our oracle-11g databases onto oracle-12c. our web-developers tell me, there big problem work our old applications (a lot of them developed old jboss 4.2.2 , old hibernate 3.4.0/3.1.0) new oracle-database(12c)
our developers send me information:
**application:
seam-version -> 2.2.2.final
hibernate-annotations-version -> 3.4.0.ga
hibernate-validator-version -> 3.1.0.ga
jsf-facelets-version -> 1.1.14
rich-faces-version -> 3.3.3.final
als dependency: hibernate-core version 3.3.0.sp1 compilieren.
oracledialect: org.hibernate.dialect.oracle10gdialect
jboss 4.2.2.ga
hibernate-version: 3.2.4.sp1
hibernate annotations version: 3.2.1.ga
hibernate entitymanager version: 3.2.1.ga
oracle jdbc driver 11g - ojdbc14
oracle jdbc driver 12c - ojdbc6
so, if call procedure xxxxxxxxx (o_res out sys_refcursor, p_yyyyy in number, .... ) throws problem:
.... info | caused by: org.hibernate.hibernateexception: problem while trying load or access oracletypes.cursor value ..................... info | caused by: java.lang.illegalaccessexception: class org.hibernate.dialect.oracle9dialect can not access member of class oracle.jdbc.driver.oracletypes modifiers "" bug: https://hibernate.atlassian.net/browse/hhh-3159
although, according link should had problem oracle-11g, not while trying upgrade 12c! ( "with oracle 11g, deprecated package oracle.jdbc.driver no longer exists , causes issues oracledialect classes making impossible use hibernate."(с) )
here 1 can read: "try use org.hibernate.dialect.oracle10gdialect, seems highest possible version in hibernate 4.3.9. dialect 12c seems present in later versions, see this." (we have older version of hibernate - 3.2.4 ! )
a newer hibernate (> 3.2.4 ), if i've got right, not compatibe old jboss 4.2.2. (is it?! please disagree me (=with colleagues) if can)
what right decision or workaround make 12c-oracle-upgrade?
thank in advance!
Comments
Post a Comment