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
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
Sheriff

Joined: Oct 14, 2005
Posts: 19728
    
  10

You never read from the InputStream in that code. Which of those statements is throwing the exception, then?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JDBC issue with Oracle LONG datatype
 
It's not a secret anymore!