[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-3682) OracleDialect with oracle 11g

Gail Badner (JIRA) noreply at atlassian.com
Mon Jan 5 13:05:38 EST 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner resolved HHH-3682.
------------------------------

      Assignee: Gail Badner
    Resolution: Duplicate

> OracleDialect with oracle 11g
> -----------------------------
>
>                 Key: HHH-3682
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3682
>             Project: Hibernate Core
>          Issue Type: Bug
>    Affects Versions: 3.2.5
>         Environment: Oracle 10.2, weblogic 10.3 , java 1.6 , spring 2.0
>            Reporter: akash
>            Assignee: Gail Badner
>
> We are calling sql procedures using Hiberante and I have used OracleDialect9  as my hiberante dialect. 
> These configuration is working fine in weblogic 8.1 but it's failing in weblogic 10.3 with exception "Caused by: java.lang.IllegalAccessException: Class org.hibernate.dialect.Oracle9Dialect can not access a member of class oracle.jdbc.driver.OracleTypes with modifiers ""
> " .  
> I went through the dialect code and found that here is one line "Class types = ReflectHelper.classForName("oracle.jdbc.driver.OracleTypes");" to load OracleTypes where in oracle 11g they have depricated oracle.jdbc.driver package. Now since weblogic 10.3 internally comes with oracle 11g thin driver, hibernate is not able to find OracleTypes class. 
> So what do u think  what i should do to make this work ? Is there any dialect available which can support oracle 11g and solve this problem ? So should i created my own dialect and handle this issue ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list