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!

Is the use of the wrong ojdbc14.jar version the solution?

623068Feb 13 2008 — edited Nov 20 2014
Hi All,

I'm getting weird results using the function "ResultSetMetaData.getColumnName" with different versions of the “ojdbc14.jar” driver in the 10.2.0.3 database. From my java program (JDK 1.4) I always execute the same query (really complex and big) using the same parameter and with one driver I get rubbish in the result and with another it works fine as I tried to sum up bellow:

- ojdbc14.jar (1,545,954 bytes for the DB 10g Release 2 (10.2.0.3) ): Returns rubbish in the first two column names. I should use this driver since it is designed for my DB version !!!

- ojdbc14.jar (1,378,346 bytes from the DB 10g 10.1.0.5): Works properly returning the right column name however is not designed for my database version.

Does anyone experience the same kind of problem between driver versions of ojdbc14.jar? Can I use without lost or break other features or functions the ojdbc14.jar that is not designed for my db?

Thanks in advance.

Regards,
Leandro
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 13 2008
Added on Feb 13 2008
3 comments
3,005 views