openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <da...@6degrees.com>
Subject Re: State Management, changed properties on detached object not saving
Date Wed, 01 Jul 2009 15:51:09 GMT
On Wed, Jul 1, 2009 at 11:43 AM, Michael Dick <michael.d.dick@gmail.com>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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message