Post date: Jan 12, 2016 10:21:24 AM
All Database versions are not supported by same jdbc library. For example classes12.jar can be used for Oracle 11g database, but should not be used for Oracle 12c database. You might experience java.lang.Verify error while loading / accessing oracle.jdbc.driver.OracleBlobInputStream class in the code, but this class is available in classes12.jar also. We must use ojdbc6.jar to connect to Oracle 12c database, ojdbc6.jar can connect to Oracle 11g database also.
We got a situation in GSI Triniti Instance, Triniti database is Oracle 11g database and GSI EBS databases are Oracle 12c databases. Deployment had classes12.jar to connect to databases, it was able to connect Triniti database without any problems, but while connecting to GSI EBS databases, it errored out as ORA-28040: No matching authentication protocol.
So use higher jdbc library if higher database versions are used.