My Oracle Support Banner

oracle.jdbc.driver.OraclePreparedStatement is not public in oracle.jdbc.driver after upgrade from 10.2 rdbms (Doc ID 1578119.1)

Last updated on OCTOBER 05, 2022

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 and later
Information in this document applies to any platform.

Symptoms

After upgrading the database from 10.2.0.5 to 11g, errors may occur similar to the following when trying to recompile invalid java classes

 

oracle.jdbc.driver.OraclePreparedStatement is not public in oracle.jdbc.driver; cannot be accessed from outside package
((OraclePreparedStatement)upd).setExecuteBatch (100);
^
1 error
ORA-29535: source requires recompilation

 

Inspection of the java source reveals that it imports oracle.jdbc.driver

Changes

 Upgrade from 10.2 to 11g.

Cause

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
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.