Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipselink-users] What is the correct wayto removemaster-detail relation


> I gave you some bad information, cascade remove is used to remove all
> the child relationships when you remove a parent, it doesn't work the
> other way around like cascade persist does.


> So yea, you have to explicitly call em.remove to remove your entity.

No, you don't. Just use @PrivateOwned annotation, if you are absolutely sure
that the characteristic entity is not related to any other entity.

Kind regards,

Back to the top