Today (and if i understood the code ;)) when i set an entity listener OpenJPA will do a new in the class.
what i would like is to be able to give the instance to OpenJPA. Like this the instance could be managed by CDI and i could inject anything inside it. That's such a hook i'm looking for. - Romain 2012/1/23 Kevin Sutter <[email protected]> > There has been no official development effort kicked off for JPA 2.1 yet. > The numbering of OpenJPA releases is not in synch with the JPA > specification levels. OpenJPA's trunk development line is still based off > the JPA 2.0 specification. > > And, as far as Entity Listeners are concerned, we've had an implementation > [1] for these for quite some time. Is there some new feature of these that > are you looking for? > > Kevin > > [1] > > http://openjpa.apache.org/builds/latest/docs/manual/manual.html#jpa_overview_entity_listeners_using > > On Mon, Jan 23, 2012 at 2:57 AM, Romain Manni-Bucau > <[email protected]>wrote: > > > Hi, > > > > is there any work on JPA 2.1? > > > > participating in the development of OpenEJB i'm particularly interested > in > > the entity listener part which should be cdi beans now. > > > > currently OpenEJB is using openjpa 2.1.1 and i didnt find any hook to > > provide an instance of the entity listener. > > > > is there already such a feature on trunk? > > > > - Romain > > >
