I am using EntityListeners to catch Insert, Update and Delete events. During my test case I notice that PreRemove method callback is never called. In the same time PreUpdate is always called whether Delete (em.remove()) or Insert is called.
In my opinion Pre/Post Persist must be called on Insert operations. Pre/Post Update must be called on Update operations. Pre/Post Remove must be called on Delete operations.
|Field||Original Value||New Value|
|Resolution||Fixed [ 1 ]|
|Fix Version/s||1.0.2 [ 12312846 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|21h 27m||1||Patrick Linskey||01/Feb/08 16:08|
|767d 2h 24m||1||Donald Woods||09/Mar/10 18:32|