javax.persistence.EntityListeners - JPA annotation
javax.persistence
Annotation EntityListeners
- Target:
- Classes
Specifies the callback listener classes to be used for an entity or mapped superclass. This annotation may be applied to an entity class or mapped superclass.
- Since:
- JPA 1.0
Learn how to define and use entity listeners in Chapter 3 of the ObjectDB/JPA manual.
Class[] value
The callback listener classes
- Since:
- JPA 1.0