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 Oracle BLOBs and Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Oracle BLOBs and Hibernate" Watch "Oracle BLOBs and Hibernate" New topic

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 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.

I agree. Here's the link:
subject: Oracle BLOBs and Hibernate
It's not a secret anymore!