-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: creating and using Blobs
PostPosted: Thu Mar 30, 2006 8:12 pm 
Newbie

Joined: Fri Mar 24, 2006 1:28 pm
Posts: 6
Hello,

can someone provide some basic guidance on how to use hibernate for creating a blob? I have studied the provided examples and documentation bur it is not clear as to how to go about first creating a blob and then populating it. I looked at the tutorial for "Mapping a Blob to a byte[]" on the hibernate website but it is still not clear. Do I need to first create a PreparedStatement object and then use setBlob? The tutorial seems to use BlobImpl to create a blob instance but when I try it I get a ClassClassException error. I would greatly appreciate any help/tips!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.