From: Yaron Z. <ya...@id...> - 2002-09-03 15:08:11
|
Hi, I would like to propose a new callback method: OnDereference(Session session, Owner object); This would be called for objects which are deleted from collections, and enable the application an easy way to decide whether to delete this object from the database or not. The owner object is the object which has a reference (Java wise) to the collection that includes this object. Three questions: 1. Is it feasible? 2. Is this a good idea performance wise, and design wise. 3. Would it be useful to add a third parameter - the collection which referenced the object till now (for non arrays only...) Thanks, Yaron. |