users@glassfish.java.net

Re: Error cascading delete to child item (_at_OneToMany relationship)

From: <glassfish_at_javadesktop.org>
Date: Mon, 11 Jun 2007 18:31:51 PDT

Hi Ed,

looks like you execute a Bulk Delete. Bulk operations don't cascade to related objects. Please see section 4.10 "Bulk Update and Delete Operations" in the JPA spec. Bulk operation directly affect the database and also don't trigger life cycle callbacks for the same reason.
[Message sent by forum member 'mf125085' (mf125085)]

http://forums.java.net/jive/thread.jspa?messageID=221609