This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.





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