users@glassfish.java.net

Re: Design question on JPA and cleaning up relationships

From: <glassfish_at_javadesktop.org>
Date: Wed, 10 Sep 2008 07:09:18 PDT

Hello Brett,

You will want to confirm by testing, but my understanding is that a bulk delete is not dealing with the objects themselves, and so will not trigger the listeners for the deleted objects. The bulk deletes, in TopLink anyway, should bypass the cache and instead cause any objects in the cache matching the criteria to be invalidated or removed as neccessary.

Regards,
Chris
[Message sent by forum member 'chris_delahunt' (chris_delahunt)]

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