Re: [google-appengine] Re: object = pm.detachCopy(object);

2010-03-14 Thread Prashant Gupta
thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: object = pm.detachCopy(object);

2010-03-14 Thread Chau
The document mentioned of
Object detachedObj = pm.detachCopy(obj); // Returns a copy of the
persisted object, in detached state
http://www.datanucleus.org/products/accessplatform_1_1/jdo/pm.html
(assumed you're using JDO)

On Mar 11, 1:53 am, Prashant Gupta  wrote:
> Just a simple question :
>
> is it sufficient to do
>
> pm.detachCopy(object);
>
> instead of
>
> object = pm.detachCopy(object);
>
> ?
>
> Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: object = pm.detachCopy(object);

2010-03-12 Thread Prashant Gupta
anyone ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.