java.lang.IllegalAccessException: Class <class name> can not access a member of class oracle.jdbc.driver.OraclePreparedStatementWrapper with modifiers "public" After Upgrading to JDBC 11g
(Doc ID 1153487.1)
Last updated on JUNE 24, 2021
Applies to:JDBC - Version 220.127.116.11 and later
Information in this document applies to any platform.
When using ojdbc14.jar (JDBC 10g driver) , J2EE application works fine.
But, after upgrading to JDBC driver 11g (ojdbc6.jar), the application fails with an illegal access exception.
The same error reproduces from a JDBC standalone application.
The error is:
java.lang.IllegalAccessException: Class framework.utilities.db.MapToDatabase can not access a member of class oracle.jdbc.driver.OraclePreparedStatementWrapper with modifiers "public"
The code where the error occur is :
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document