Home » Developer & Programmer » JDeveloper, Java & XML » Oracle Driver Error???
Oracle Driver Error??? [message #91685] Thu, 09 January 2003 12:15 Go to next message
Vinay Sahitya
Messages: 11
Registered: October 1999
Junior Member
Hello:

We are using 9.2 to develop a Java application

We have tables with Timestamp column type.

We have a Java(jdk 1.3) application that uses Oracle Thin Driver(classes12.jar) to connect to the DB. We retrieve the time stamp column in two modes:

1. directly in a batch process in the OS: Windows 2K and unix.
All is fine

2. by running the same procedure from JSP using a Netscape Browser.

The application throws the following exception at:

aoResultSet = aoStatement.getResultSet();

Error Code: 3115 SQL State: 63000
java.sql.SQLException: ORA-03115: unsupported network datatype or
representation

It works fine, if we do not select the 'Timestamp' column.

Here the preceding code:

Statement aoStatement = aoConnection.createStatement();

aoStatement.execute("select * from SomeTable");

Does any one know what the issue could be?

Thanks!
Re: Oracle Driver Error??? [message #91690 is a reply to message #91685] Fri, 10 January 2003 06:55 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
if beleive, it is becuase,
timestamp is different datatype.
you cannot treat it like date datatype.
this issue is reported many times before from Java users.
i have no idea about java and i dont do any a java but if u want i can send some examples related to this
also visit http://java.sun.com/products/jdk/1.2/docs/api/java/sql/Timestamp.html
Re: Oracle Driver Error??? [message #91727 is a reply to message #91690] Tue, 21 January 2003 14:26 Go to previous messageGo to next message
Vinay Sahitya
Messages: 11
Registered: October 1999
Junior Member
Thanks! We browsed that site and it was certainly very informative.

Also, we were able to also find another solution to this situation. If you include the jar file first in the path, then it works.

Thanks!
Vinay
Re: Oracle Driver Error? [message #92475 is a reply to message #91685] Wed, 04 August 2004 14:48 Go to previous messageGo to next message
Fay Wang
Messages: 3
Registered: April 2003
Junior Member
We got the same error using ojdbc14.jar with Oracle 9i fix pack 4. Can you provide more details on how you solved this problem?

Thanks a lot!
Re: Oracle Driver Error??? [message #176324 is a reply to message #91685] Wed, 07 June 2006 20:03 Go to previous message
looyo
Messages: 1
Registered: June 2006
Junior Member
I have the same error
MY env
oracle 9.2.0.1
jdk 1.3.1
jdbc classes12.jar
Previous Topic: how to restore an xml file into database
Next Topic: JDeveloper 10g(10.1.3)- How to do custom mapping from java to XML and vice versa??
Goto Forum:
  


Current Time: Fri Nov 22 05:13:08 CST 2024