Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile 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:
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic