Return-Path: Delivered-To: apmail-openjpa-commits-archive@www.apache.org Received: (qmail 62361 invoked from network); 29 Mar 2010 17:41:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Mar 2010 17:41:05 -0000 Received: (qmail 98254 invoked by uid 500); 29 Mar 2010 17:41:05 -0000 Delivered-To: apmail-openjpa-commits-archive@openjpa.apache.org Received: (qmail 98210 invoked by uid 500); 29 Mar 2010 17:41:05 -0000 Mailing-List: contact commits-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list commits@openjpa.apache.org Received: (qmail 98203 invoked by uid 99); 29 Mar 2010 17:41:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 17:41:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 17:41:02 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 690F32388A3B; Mon, 29 Mar 2010 17:40:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r928845 - /openjpa/branches/2.0.x/openjpa-project/src/doc/manual/migration_considerations.xml Date: Mon, 29 Mar 2010 17:40:41 -0000 To: commits@openjpa.apache.org From: dwoods@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100329174041.690F32388A3B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dwoods Date: Mon Mar 29 17:40:41 2010 New Revision: 928845 URL: http://svn.apache.org/viewvc?rev=928845&view=rev Log: OPENJPA-1597 Migration doc updates to mention the new Compatibility flag. Modified: openjpa/branches/2.0.x/openjpa-project/src/doc/manual/migration_considerations.xml Modified: openjpa/branches/2.0.x/openjpa-project/src/doc/manual/migration_considerations.xml URL: http://svn.apache.org/viewvc/openjpa/branches/2.0.x/openjpa-project/src/doc/manual/migration_considerations.xml?rev=928845&r1=928844&r2=928845&view=diff ============================================================================== --- openjpa/branches/2.0.x/openjpa-project/src/doc/manual/migration_considerations.xml (original) +++ openjpa/branches/2.0.x/openjpa-project/src/doc/manual/migration_considerations.xml Mon Mar 29 17:40:41 2010 @@ -163,7 +163,7 @@ Serialization of Entities - + In 1.x.x releases of OpenJPA, when an entity was serialized after calling EntityManager.find(), detach() or detachAll() @@ -173,7 +173,7 @@ proxy classes were not removed. - Starting with OpenJPA 1.3 and 2.0, this behavior has been + Starting with OpenJPA 2.0, this behavior has been modified, so that by default all proxies will be removed during serialization. See @@ -183,6 +183,16 @@ for more details on how to override the default DetachedStateField setting. + + Applications that use a 1.0 persistence.xml will + automatically maintain the old behavior. It is + possible for a version 2.0 application to revert back to + the prior 1.x.x behavior by setting the following + openjpa.Compatibility property as follows: + + IgnoreDetachedStateFieldForProxySerialization=true + +