File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC issue with Oracle LONG datatype" Watch "JDBC issue with Oracle LONG datatype" New topic

JDBC issue with Oracle LONG datatype

Ravi Madhavan

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

Joined: Oct 14, 2005
Posts: 19848

You never read from the InputStream in that code. Which of those statements is throwing the exception, then?
I agree. Here's the link:
subject: JDBC issue with Oracle LONG datatype
It's not a secret anymore!