@Target(value=METHOD) @Retention(value=RUNTIME) @Documented @Inherited public @interface PrePersist
LifecycleEvent.PRE_PERSIST events.| Modifier and Type | Optional Element and Description | 
|---|---|
| Class<? extends Annotation>[] | entityAnnotationsAn array of custom annotation types. | 
| Class<?>[] | valueAn array of entity classes that a listener method should be associated with. | 
public abstract Class<?>[] value
public abstract Class<? extends Annotation>[] entityAnnotations
Copyright © 2001–2023 Apache Cayenne. All rights reserved.