Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle driver for JDK 1.3 & 1.4

436302Jan 12 2005 — edited Jan 18 2005
Hi,

This is regarding the Oracle 9i Rel 2 drivers for JDK 1.4 and JDK 1.3

I've a web application which retrieves a Blob from Oracle database, and it works fine with the environment given below.

Java: JDK 1.4.2_03
Database: Oracle 9i Rel 2 (9.2.0.1.0)
Drivers: ojdbc14.jar
ojdbc14_g.jar
ocrs12.zip

This web app is going to be moved to a JDK 1.3 environment. My question is
whether the above mentioned driver jars will work in JDK 1.3 environment.

In oracle website it says,

For JDK 1.4 ------> ojdbc14.jar, ojdbc14_g.jar
JDK 1.3 -------> classes12.zip


My concern is when I use classes12.jar in JDK 1.3 and try retrieving BLOB will it work ? or can I try using ojdbc14.jar in JDK 1.3 ?

Below are the errors that I got when I used classes12.jar instead of ojdbc14.jar in JDK 1.4.2.

stderr: at oracle.sql.LobPlsqlUtil.plsql_read(LobPlsqlUtil.java:911)
stderr: at oracle.sql.LobPlsqlUtil.plsql_read(LobPlsqlUtil.java:52)
stderr: at oracle.jdbc.dbaccess.DBAccess.lobRead(DBAccess.java:658)
stderr: at oracle.sql.LobDBAccessImpl.getBytes(LobDBAccessImpl.java:95)
stderr: at oracle.sql.BLOB.getBytes(BLOB.java:175)
stderr: at oracle.jdbc.driver.OracleBlobInputStream.needBytes(OracleBlobInputStream.java:1 26)
stderr: at oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.java:108)


Can you pls let me know...

Thanks much...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2005
Added on Jan 12 2005
4 comments
528 views