openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: need clarification on entity listener loading
Date Thu, 08 Oct 2009 02:15:01 GMT

> I am seeing some strange behavior where my entity listeners are being
instantiated by OpenJPA multiple times.

JavaDoc on OpenJPA's LifecycleEventManager
 " This class also does not maintain perfect set semantics for listeners; it
is possible to wind up having the same listener invoked multiple times for a
single event if it is added to this manager multiple times with different
classes, or with a base class and its subclass."

  Does the above provide some clue to your observations?




-----
Pinaki 
-- 
View this message in context: http://n2.nabble.com/need-clarification-on-entity-listener-loading-tp3783543p3785640.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message