[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5551) Setting to enable envers rather than having to manually name listeners

Erik-Berndt Scheper (JIRA) noreply at atlassian.com
Mon Sep 13 06:03:18 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38363#action_38363 ] 

Erik-Berndt Scheper commented on HHH-5551:
------------------------------------------

In terms of usability, this would be a great idea. 
However, I assume backwards compatibility needs to be preserved, without the listeners being applied twice.

But I am wondering if a new setting is required at all. 

I imagine this 'automatic enabling of Envers' requires some sort of classpath scanning (to check if the listeners are available). Doesn't it seem logical to assume that if a developer explicitly adds hibernate-envers.jar to the classpath, that he probably wants to use this jar as well?

I.e. if hibernate-envers.jar is available on the classpath, then the listeners could be enabled by default.


> Setting to enable envers rather than having to manually name listeners
> ----------------------------------------------------------------------
>
>                 Key: HHH-5551
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5551
>             Project: Hibernate Core
>          Issue Type: New Feature
>          Components: envers
>            Reporter: Steve Ebersole
>             Fix For: 3.6.0.CR1
>
>
> WDYT?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list