This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes JDBC issue with Oracle LONG datatype Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC issue with Oracle LONG datatype" Watch "JDBC issue with Oracle LONG datatype" New topic
Author

JDBC issue with Oracle LONG datatype

Ravi Madhavan
Greenhorn

Joined: Jun 19, 2006
Posts: 1
Hi there I am trying to do an update to a table which contains a column of LONG datatype in a ORacle Db.

The problem I have is that I keep experiencing the error :

java.sql.SQLException: Stream has already been closed

The table contains 3 columns I am reading off (the other two being integer and varchar2).




got dills?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

You never read from the InputStream in that code. Which of those statements is throwing the exception, then?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDBC issue with Oracle LONG datatype
 
Similar Threads
access database with java
java.lang.ArrayIndexOutOfBoundsException: 1
access database in java
connectivity problem
Cannot perform SQL UPDATE null