> Ok, I get it. So there's no way to "reattach" an instance directly then?
There is if you pierce the public API boundary. Try
JPAFacadeHelper.toBroker(em).transactional(Object pc, boolean
updateVersion,
OpCallbacks call);
Daryl Stultz wrote:
>
> On Thu, May 21, 2009 at 8:50 PM, Pinaki Poddar <[email protected]> wrote:
>
>>
>> Hi Daryl,
>> something like:
>> /**
>> * Pour the persistent state of the given other instance into this
>> (detached) instance.
>> * Some sort of reverse Object.clone().
>> * The implementation has to decide whether to deep copy or not.
>> **/
>
>
> Ok, I get it. So there's no way to "reattach" an instance directly then?
>
> PS: "copy constructor" is a constructor that takes an instance of the same
>> type as input argument. Was popular in C++ days.
>>
>> I'm afraid I missed that. I guess I'm too young. That's what I'll keep
> telling myself.
>
> --
> Daryl Stultz
> _____________________________________
> 6 Degrees Software and Consulting, Inc.
> http://www.6degrees.com
> mailto:[email protected]
>
>
-----
Pinaki Poddar http://ppoddar.blogspot.com/
http://www.linkedin.com/in/pinakipoddar
OpenJPA PMC Member/Committer
JPA Expert Group Member
--
View this message in context:
http://n2.nabble.com/Refresh-myself%21-tp2954027p2957118.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.