Re: [hibernate-dev] Envers set up

2010-09-11 Thread Steve Ebersole
Sure. I wasn't proposing not allowing users to register listeners at all, whether it be the supplied envers listeners, the supplied search ones, or some custom ones. That is core Hibernate functionality to allow users to be able to do this. No, this would merely be a new flag users could use *in

Re: [hibernate-dev] Envers set up

2010-09-11 Thread HernĂ¡n Chanfreau
Adam is right! Sometimes the envers default listeners are overriden by user custom listeners. 2010/9/11 Adam Warski > Sounds great. I think that there may be on option to automatically add all > the appropriate listeners, but the users would still have the possibility to > add them by hand (in

Re: [hibernate-dev] Envers set up

2010-09-11 Thread Adam Warski
Sounds great. I think that there may be on option to automatically add all the appropriate listeners, but the users would still have the possibility to add them by hand (in the more advanced use-cases, but that will probably be rare). Same applies to the HSearch listeners I suppose. On Sep 10,

Re: [hibernate-dev] Envers set up

2010-09-11 Thread Hardy Ferentschik
In Search and Validator we enable the listeners when we detect Search res. Validator on the classpath (with an option to explicitly not enable it). Maybe we could do the same with Envers? --Hardy On Fri, 10 Sep 2010 20:40:04 +0200, Steve Ebersole wrote: > What do you think of an option that