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