Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] merge() cascading by default?

Here is the output I see with logging enabled.

I hope file attachments works with nabble :)
good.txt refers to the output I expect. bad.txt refers to the unexpected
cascade.

http://www.nabble.com/file/p19501990/good.txt good.txt 
http://www.nabble.com/file/p19501990/bad.txt bad.txt 

Gili


cowwoc wrote:
> 
> When I merge() an Image object, EclipseLink seems to persist all objects
> referenced by the object. If I change to persist() it complains that one
> of the referenced object was transient but not cascaded.
> 
> I am expecting the same warning to be issued for merge(). The
> documentation says that the default cascade is none but the behavior seems
> otherwise. I am using EclipseLink 1.0.1.
> 
> Thank you,
> Gili
> 

-- 
View this message in context: http://www.nabble.com/merge%28%29-cascading-by-default--tp19501823p19501990.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top