In the javadoc there are many event and listener.I want to use the event and
the listener in jee enviroment,the emf.add**Listener() method can't not
called because in jee enviroment the entitymanagerfacetory is created by jee
contianer.i only use ejb3 injection in my session bean use  
@PersistenceContext
    private EntityManager em;
so i don't know how to register the Listener(such as LifecycleListener) in
JEE enviroment.

illhan
-- 
View this message in context: 
http://n2.nabble.com/how-to-use-openjpa-event-listener---tp3397042p3397042.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to