timezra/hibernate-jpa-callbacks
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project provides code samples to clarify this tutorial: http://timezra.blogspot.com/2011/10/jpa-callbacks-with-hibernate.html It is a multi-module Maven project. The code can be compiled and the tests run using standard Maven commands, e.g., $> mvn clean package The timezra.hibernate.jpa.entity-manager-callbacks sub-project contains sample code for using the Hibernate EntityManager, which automatically ties JPA annotations to Hibernate lifecycle events. The timezra.hibernate.jpa.event-listener-callbacks sub-project contains sample code for manually configuring the Hibernate SessionFactory to recognize JPA annotations and to bind the annotated methods to Hibernate lifecycle events.
About
An example project for demonstrating how to tie JPA annotations to Hibernate lifecycle events.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published