Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 98545 invoked from network); 1 Jul 2009 15:51:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jul 2009 15:51:32 -0000 Received: (qmail 53704 invoked by uid 500); 1 Jul 2009 15:51:42 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 53636 invoked by uid 500); 1 Jul 2009 15:51:42 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 53623 invoked by uid 99); 1 Jul 2009 15:51:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 15:51:42 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [64.18.2.157] (HELO exprod7og102.obsmtp.com) (64.18.2.157) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 01 Jul 2009 15:51:31 +0000 Received: from source ([209.85.210.188]) by exprod7ob102.postini.com ([64.18.6.12]) with SMTP ID DSNKSkuF7dh9O1ywH+vb1XpTDSwZ5jYjzMWL@postini.com; Wed, 01 Jul 2009 08:51:10 PDT Received: by yxe26 with SMTP id 26so1374801yxe.33 for ; Wed, 01 Jul 2009 08:51:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.39.196 with SMTP id h4mr2585125ibe.8.1246463469114; Wed, 01 Jul 2009 08:51:09 -0700 (PDT) In-Reply-To: <72c1350f0907010843k6f415789r55c38ff15625a226@mail.gmail.com> References: <1246459164376-3189415.post@n2.nabble.com> <72c1350f0907010843k6f415789r55c38ff15625a226@mail.gmail.com> Date: Wed, 1 Jul 2009 11:51:09 -0400 Message-ID: Subject: Re: State Management, changed properties on detached object not saving From: Daryl Stultz To: users@openjpa.apache.org Content-Type: multipart/alternative; boundary=002215048f634d5690046da6e480 X-Virus-Checked: Checked by ClamAV on apache.org --002215048f634d5690046da6e480 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, Jul 1, 2009 at 11:43 AM, Michael Dick wrote: > The > PesistenceContext can be thought of as the state of a set of entities in > memory (sort of a L1 cache). When the PersistenceContext is flushed your > changes will go to the database. When the transaction is committed they'll > be committed in the DataBase. (Please see other post for p-code of general pattern.) I *am* committing the transaction but the values (that should have been copied to the merged instance I ignored) are not written to the db. -- Daryl Stultz _____________________________________ 6 Degrees Software and Consulting, Inc. http://www.6degrees.com mailto:daryl@6degrees.com --002215048f634d5690046da6e480--