-->
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: Please clarify SerializableBlob in Hibernate3
PostPosted: Mon Oct 31, 2005 11:59 am 
Beginner
Beginner

Joined: Wed Sep 28, 2005 5:30 pm
Posts: 25
Hi,

The Hibernate3 Migration Guide states that a SerializableBlob allows a blob to be "detached, serialized, deserialized, and passed to merge()" yet this contradicts a previous post http://forum.hibernate.org/viewtopic.ph ... ialization and the SerializableBlob source-code which states "Blobs may not be accessed after serialization".

My question is, how is one supposed to use SerializableBlob to detach, serialize and deserialize blob properties? Can you please give a brief example source-code of a blob being loaded, detached, modified, reattached and saved back into the database? Also please explain how one is supposed to serializable then deserializable a SerializableBlob and continue using it if the source-code explicitly states that blobs may not be accessed after serialization.

Thank you.


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.