EclipseLink 2.0.0, build 'v20091127-r5931' API Reference

javax.persistence
Annotation Type PrePersist


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface PrePersist

Is used to specify callback methods for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class.

Since:
Java Persistence 1.0


EclipseLink 2.0.0, build 'v20091127-r5931' API Reference