[hibernate-dev] disabling envers during runtime

Steve Ebersole steve at hibernate.org
Thu May 7 15:26:30 EDT 2015


hibernate.listeners.envers.autoRegister is the old property.  See:

public static final String INTEGRATION_ENABLED =
"hibernate.integration.envers.enabled";

The old one is still recognized...

On Thu, May 7, 2015 at 1:28 PM, Brett Meyer <brmeyer at redhat.com> wrote:

> ...heh, it's already in the docs ;)
>
>
> http://docs.jboss.org/hibernate/orm/4.3/devguide/en-US/html/ch15.html#d5e4486
>
> ----- Original Message -----
> > From: "Brett Meyer" <brmeyer at redhat.com>
> > To: "hibernate-dev" <hibernate-dev at lists.jboss.org>
> > Sent: Thursday, May 7, 2015 2:22:42 PM
> > Subject: [hibernate-dev] disabling envers during runtime
> >
> > In older ORM versions, Envers could be dynamically disabled during
> runtime by
> > creating an AuditEventListener delegate and surrounding the super calls
> with
> > custom logic.  Info:
> >
> https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Development_Guide/Enable_or_Disable_Auditing_at_Runtime1.html
> >
> > Now that the architecture is different (EnversListener), any thoughts on
> > alternatives?  Having trouble finding ideas...
> >
> > In addition, is there a way to disable envers during SF bootstrapping?
> Ie,
> > set some sort of "hibernate.envers.disable" property?
> > _______________________________________________
> > hibernate-dev mailing list
> > hibernate-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
> >
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>


More information about the hibernate-dev mailing list