Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mapping a Blob to a byte[] in hibernate 3

 
ken carlino
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic