db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: serialize Detachable instance for storage
Date Thu, 23 Mar 2006 05:46:21 GMT
Hi Erik,

On Mar 17, 2006, at 11:40 AM, Erik Bengtson wrote:

> Hi,
> If we serialize a detachable instance for storage, does it have the  
> detach state
> populated?

Yes. Regardless of whether it's currently managed or already  
detached, the detached state is part of the serialized state of the  

> It is at least a waste of space.

I don't understand how the detached state is wasted space. It  
contains information that's needed if the instance is in future  
attached to a persistence manager.


> Regards

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!

View raw message