users@glassfish.java.net

Re: EntityListener, PreUpdate, EJBContext

From: Laird Nelson <ljnelson_at_gmail.com>
Date: Thu, 19 Apr 2012 20:26:59 -0400

On Thu, Apr 19, 2012 at 4:44 PM, Mitesh Meswani
<mitesh.meswani_at_oracle.com>wrote:

> >Root problem is the standard "I want to record who changed an object"
> issue.
> Did you try prepersist?
>

No; my assumption (which I will double-check) was that @PrePersist was
called on EntityManager#persist() operations. I need this to be called on
merge() operations as well. Am I missing something?

Best,
Laird

-- 
http://about.me/lairdnelson