aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.





 
 
subject: Oracle BLOBs and Hibernate
 
Similar Threads
Issue while retrieving BLOB from ORACLE 9i, using Hibernate 3.0
Hibernate Issue
Classcast exception
Read/Write BLOB in byte[] with Hibernate in MySQL..
image storing and displaying (struts2 + hibernate)