openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <>
Subject Re: Register listener once and only once
Date Wed, 17 Oct 2007 01:15:25 GMT
On Oct 15, 2007, at 5:44 PM, Patrick Linskey wrote:

>> o Add lifecycle listener at the EMF level which it is automatically
>> added to all created EMs (of course I'll need a way to uniquely do
>> that).
> I think that OpenJPAEntityManagerFactorySPI.addLifecycleListener() is
> your friend.

Thanks Patrick. Worked like a charm.

Now we just need to get a global lifecycle system like this added to  
the next JPA spec :)


View raw message