This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Mapping a Blob to a byte[] in hibernate 3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Mapping a Blob to a byte[] in hibernate 3" Watch "Mapping a Blob to a byte[] in hibernate 3" New topic
Author

Mapping a Blob to a byte[] in hibernate 3

ken carlino
Greenhorn

Joined: Nov 06, 2006
Posts: 10
Hi,

I am trying to map map a Blob to a byte[] in hibernate 3.
So I following this example http://www.hibernate.org/73.html (based on hibernate 1.3.2), and create my BinaryBlob Type.

But when I run it , i get this exception, can you please tell me what did i do wrong?



Here is my code:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mapping a Blob to a byte[] in hibernate 3
 
Similar Threads
Hibernate exception in OneToOne mapping
phone listener is not working properly
Problem in matching property type
overriding JDBCRealm
Caught a NonUnique Exception while adding more rows to the table.