@PrePersist Problem


HI I am trying to use @PrePersist annotation in my project.This application is using struts2 with jpa combination

.so can u please tell me how to us this annotaton before save the record into persistence.



how to use in pojo and in action class


Please read this manual page.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login