aspose file tools*
The moose likes JDBC and the fly likes Does Oracle LOBs support streams ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Does Oracle LOBs support streams ?" Watch "Does Oracle LOBs support streams ?" New topic
Author

Does Oracle LOBs support streams ?

Maris Orbidans
Ranch Hand

Joined: Mar 08, 2004
Posts: 149
Hi

I am using Hibernate 3.2, Oracle 10g XE and
latest version (10.2.0.2) of thin jdbc driver (ojdbc14.jar). I would like to read from a CLOB using a stream, but it seems impossible. I can read from a CLOB using a Reader, it reads all 18kb of data I have stored there. But all streams return -1, if I try to read them and available() returns 0.

 
wood burning stoves
 
subject: Does Oracle LOBs support streams ?