RatJuggler / jpa-entity-lifecycle-events

Experimenting with JPA Entity lifecycle events.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jpa-entity-lifecycle-events

Experimenting with JPA Entity lifecycle events.

Useful links:

Pros

  • Can be targeted to specific entities.
  • Easy to implement and maintain.
  • Full access to the entity being loaded / persisted.
  • JPA compliant.

Cons

  • MAJOR: Leaves the presistence session / entity in a dirty state when you change entity attributes.

About

Experimenting with JPA Entity lifecycle events.


Languages

Language:Java 100.0%