In JPA I want to utilize the PrePersist annotated method to perform some operations but rather than making the things it needs to implement the Singleton pattern (w
PrePersist
If you can use Hibernate event listeners I wrote once a response with a possible approach for Spring managed event listeners here:
Using Hibernate 4's Integrator pattern and Spring's dependency injection