treeder / simplejpa

Automatically exported from code.google.com/p/simplejpa
0 stars 0 forks source link

Support for entity listeners #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Support for @EntityListeners, @PostUpdate, @PrePersist etc....

Attached is a patch that implements this. Have not written any unit test,
and just tested one of the events (@PostUpdate)..

This version does not support in-entity events yet... (@EntityListeners
annotation needed).

Take a look, and see if it could be used....

Original issue reported on code.google.com by mag...@gmail.com on 1 Jun 2008 at 2:19

Attachments:

GoogleCodeExporter commented 9 years ago
Applied patch.

Original comment by treeder on 1 Jun 2008 at 8:13