wood burning stoves*
The moose likes JDBC and the fly likes Oracle BLOBs and Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Oracle BLOBs and Hibernate" Watch "Oracle BLOBs and Hibernate" New topic
Author

Oracle BLOBs and Hibernate

Maris Orbidans
Ranch Hand

Joined: Mar 08, 2004
Posts: 149
hi guys

how do you store BLOBs in Oracle ?

I have managed to store a CLOB (>4kb) and I thought the same idea (as decribed here http://www.hibernate.org/56.html) would work with BLOBs, but it doesn't. This code appears to be writing something into the BLOB, but nothing gets written into the database. This code creates a new row, but BLOB is empty.

I am using Hibernate 3.2, Oracle 10g XE and thin jdbc driver.





 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Oracle BLOBs and Hibernate