Supported Events
Events the DescriptorEventManager supports include:
Post-X Methods:
- Post-Build - occurs after an object is built from the database.
- Post-Clone - occurs after an object has been cloned into a unit of work.
- Post-Merge - occurs after an object has been merged from a unit of work.
- Post-Refresh - occurs after an object is refreshed from the database.
Updating Methods:
- Pre-Update - occurs before an object is updated in the database. This may be called in a unit of work even if the object has no changes and does not require an update.
- About-to-Update - occurs when an object's row is updated in the database. This is called only if the object has changes in the unit of work.
- Post-Update - occurs after an object is updated in the database. This may be called in a unit of work even if the object has no changes and does not require an update.
Inserting Methods:
- Pre-Insert - occurs before an object is inserted in the database.
- About-to-Insert - occurs when an object's row is inserted in the database.
- Post-Insert - occurs after an object is inserted in the database.
Writing Methods:
- Pre-Write - occurs before an object is inserted or updated in the database. This occurs before Pre-Insert/Update.
- Post-Write - occurs after an object is inserted or updated in the database. This occurs after Pre-Insert/Update.
Deleting Methods:
- Pre-Delete - occurs before an object is deleted from the database.
- Post-Delete - occurs after an object is deleted from the database.
Related Topics
About TopLink Descriptors
Registering an Event with a Descriptor
Working with Events
Specifying Events
Working with Descriptors
Copyright © 1997, 2004, Oracle.
All rights reserved.