java - OracleResultSet class in ojdbc14.jar and ojdbc6.jar -
i have used oracle.jdbc.driver.oracleresultset class in program ojdbc14.jar. after that, have upgraded oracle 10g 11g , on wards, using ojdbc6.jar.
with new jar file, giving me compilation error "oracle.jdbc.driver.oracleresultset not visible". have extracted class files using "jar xf xxx.jar" both jar files , took class files oracleresultset class , decompiled , got java code. have observed oracleresultset public class in ojdbc14.jar there no access modifier in ojdbc6.jar restricting me use "oracleresultset" class.
any solution issue?
i changed import oracle.jdbc.oracleresultset; oracle.jdbc.*; , error gone. have again changed import oracle.jdbc.*; oracle.jdbc.oracleresultset , saved. worked without compilation errors.
Comments
Post a Comment