db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bouschen <mbo.t...@spree.de>
Subject Re: PersistenceManager UserObject
Date Thu, 29 Sep 2005 19:13:53 GMT
Hi Karan,

>Hi Craig,
> Thanks.
> What happens to the user object once i close the pm?
>  
>

I think nothing will happen. Accoring to the spec a user object is not 
inspected or used in any way by the JDO implementation.

Regards Michael

> On 9/29/05, Craig Russell <craig.russell@sun.com> wrote:
>  
>
>>Hi Karan,
>>
>>The UserObject pattern is intended for applications that need to
>>access some local state that is associated with the persistence
>>context. Any persistent object can navigate to its persistence manager
>>and access some application-specific data.
>>
>>This turned out to be very useful in JDO, so much so that users asked
>>for finer-grained UserObject information: a Map of UserKey and
>>UserValue.
>>
>>Craig
>>
>>From: karan.malhi@gmail.com
>>Subject: user object with pm
>>Date: September 29, 2005 8:24:33 AM PDT
>>To: jdo-dev@db.apache.org
>>Reply-To: jdo-dev@db.apache.org, karan.malhi@gmail.com
>>
>>Hi Craig,
>>What is the purpose of get/setUserObject in the pm api? What would be the
>>use-case where i would use these methods?
>>
>>
>>--
>>Karan Malhi
>>
>>    
>>
>
>
>
>--
>Karan Malhi
>
>  
>


-- 
Michael Bouschen		Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de	http://www.tech.spree.de/
Tel.:++49/30/235 520-33		Buelowstr. 66			
Fax.:++49/30/2175 2012		D-10783 Berlin			


Mime
View raw message