openjpa-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: svn commit: r751910 - in /openjpa/trunk: openjpa-kernel/src/main/java/org/apache/openjpa/conf/ openjpa-kernel/src/main/java/org/apache/openjpa/kernel/ openjpa-kernel/src/main/java/org/apache/openjpa/meta/ openjpa-persistence-jdbc/src/test/java/org/apac...
Date Wed, 11 Mar 2009 17:05:46 GMT
Hi Pinaki,

Since the JPA signature has no return value, how can the user get the  
detached objects?

Do you have a test case for the old behavior with the new configuration?



On Mar 10, 2009, at 3:05 PM, Pinaki Poddar wrote:

> Hi Craig,
>  I understand your concerns because I had similar ones. That is why  
> this
> change does retain the past behavior exactly as it was. The user only
> requires the following configuration to get exactly the same behavior
>  openjpa.Compatibility=FlushBeforeDetach=true,CopyOnDetach=true
>  In fact, JDO having a separate signature as detachCopy() is a good  
> news
> because then we can add the same signature to Broker so that the  
> user will
> not even need the above configuration for backward compatible  
> behavior.
>  Regards --
> -- 
> View this message in context:
> Sent from the OpenJPA Developers mailing list archive at

Craig L Russell
Architect, Sun Java Enterprise System
408 276-5638
P.S. A good JDO? O, Gasp!

View raw message