openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter" <kwsut...@gmail.com>
Subject Re: EntityManager.clear() semantics
Date Wed, 31 Jan 2007 17:32:23 GMT
Understood, Abe.  I just wanted to get some agreement with you and/or
Patrick before pursuing this type of change.  Thanks!

Kevin

On 1/31/07, Abe White <awhite@bea.com> wrote:
>
> > Basically, if we have dirtied the Persistence Context, then do a
> > flush()
> > followed by the detachAllInternal().  I don't think the clear()
> > should be
> > doing this flush() operation.  Any disagreement?
>
> I agree.  But note that just removing the flush call won't work for a
> couple of reasons: it's needed by JDO, and we'll just flush later in
> the DetachManager when we detect a dirty instance.  So just a warning
> that it isn't quite as trivial a fix as it might appear to be.
> _______________________________________________________________________
> Notice:  This email message, together with any attachments, may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> entities,  that may be confidential,  proprietary,  copyrighted  and/or
> legally privileged, and is intended solely for the use of the individual
> or entity named in this message. If you are not the intended recipient,
> and have received this message in error, please immediately return this
> by email and then delete it.
>

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