Hello, I discovered that a property on a detached entity set to null was not having the null value persisted following a merge. I found this thread http://osdir.com/ml/apache.openjpa.user/2008-03/msg00045.html and put <property name="openjpa.DetachState" value="fgs(DetachedStateField=true)" /> into persistence.xml
This took care of the problem. My entity has child entities set to CascadeType.ALL but now merging the parent does not merge the children. I'm going crazy with this! What's the right way to save an entity with newly nulled values without breaking cascade? Thanks. -- Daryl Stultz _____________________________________ 6 Degrees Software and Consulting, Inc. http://www.6degrees.com mailto:[email protected]
