I've added a new callback interface into Castor to allow Castor-managed
objects to delete themselves. I had to add this due to a requirement from my
project's DBA group that all deletes occur via stored procedures so some
auditing information can be logged.
The interface looks like this:
public interface SelfRemoving
{
public boolean doRemove(Connection cn, String txUser);
}
The Castor framework calls doRemove() on any object which implements the
interface and is being deleted from the persistent store. If anyone is
interested, I'd be happy to post the code for this change to the list.
--Kevin
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev