A persistent class can register a public method as an event method. A descriptor calls the event method when a particular database operation occurs.
Event methods:
Example 4-7 Registering an Event
The following code illustrates an event method definition:
Copyright © 1997, 2004, Oracle. All rights reserved.