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 *instead* to have the envers listeners automatically
appended.
TBH I do not know exactly what search does to be able to comment on it
specifically. I just know that as I was writing the tutorial it seemed
really inconvenient to *have to* enable all the needed listeners myself.
At any rate I have not heard nor thought of any issues with it, so I'll
work on it.
On Sat, 2010-09-11 at 11:48 -0300, HernĂ¡n Chanfreau wrote:
Adam is right! Sometimes the envers default listeners are overriden
by
user custom listeners.
2010/9/11 Adam Warski <adam(a)warski.org>
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, 2010, at 8:40 PM, Steve Ebersole wrote:
> What do you think of an option that says "enable envers",
rather than
> explicitly needing to set up each listener?
>
> --
> Steve Ebersole <steve(a)hibernate.org>
>
http://hibernate.org
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Steve Ebersole <steve(a)hibernate.org>
http://hibernate.org