Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Expected merge behavior in lazycollectionfield with CascadeType.MERGE, PERSIST?

On Fri, Jul 24, 2009 at 1:43 PM, Andrei Ilitchev <andrei.ilitchev@xxxxxxxxxx> wrote:
The spec. doesn't say what supposed to happen in this case.

Well, the spec tries to.  It says that the state of the detached entity is copied onto the state of the managed entity.  What's at issue is: is the state the collection itself, or its contents?  The spec is unfortunately unclear here.

Regarding the bidirectionality of this relationship, yes, I'll probably get rid of the one-to-many, although unfortunately it is useful in other regards.

Best,
Laird

Back to the top