permaculture playing cards*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Does Oracle LOBs support streams ?
 
Similar Threads
SetCharachterStream seems not to work with MySQL
updating a CLOB field using oracle
unable to update CLOB data using Commons DBCP connection.
How to update clob field in a table using jdbc?
Blob Clob