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 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Does Oracle LOBs support streams ?" Watch "Does Oracle LOBs support streams ?" New topic

Does Oracle LOBs support streams ?

Maris Orbidans
Ranch Hand

Joined: Mar 08, 2004
Posts: 149

I am using Hibernate 3.2, Oracle 10g XE and
latest version ( 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 ?
It's not a secret anymore!