Re: [hibernate-dev] [OGM] Demarcating units of work

2015-05-07 Thread Emmanuel Bernard
> On 07 May 2015, at 08:38, Gunnar Morling wrote: > > > > 2015-05-07 8:12 GMT+02:00 Emmanuel Bernard >: > >> On 06 May 2015, at 15:16, Gunnar Morling > > wrote: >> >> >> >> 2015-05-06 14:19 GMT+02:00 Emmanuel Bernard >

Re: [hibernate-dev] Testing Hibernate 5: injecting a Spring managed interceptor

2015-05-07 Thread Guillaume Smet
Yup, populate(SessionFactoryBuilder, StandardServiceRegistry) was my favorite spot too but it's currently private. Would you mind making it protected? Note that if we can do so without subclassing the said internal class, I'm all ears :). This method was inspired by a blog post for 4.2 that I port

Re: [hibernate-dev] [OGM] Demarcating units of work

2015-05-07 Thread Gunnar Morling
2015-05-07 10:29 GMT+02:00 Emmanuel Bernard : > > On 07 May 2015, at 08:38, Gunnar Morling wrote: > > > > 2015-05-07 8:12 GMT+02:00 Emmanuel Bernard : > >> >> On 06 May 2015, at 15:16, Gunnar Morling wrote: >> >> >> >> 2015-05-06 14:19 GMT+02:00 Emmanuel Bernard : >> >>> It’s an interesting idea

[hibernate-dev] disabling envers during runtime

2015-05-07 Thread Brett Meyer
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_D

Re: [hibernate-dev] disabling envers during runtime

2015-05-07 Thread Brett Meyer
...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" > To: "hibernate-dev" > Sent: Thursday, May 7, 2015 2:22:42 PM > Subject: [hibernate-dev] disabling envers during runtime > > In

Re: [hibernate-dev] disabling envers during runtime

2015-05-07 Thread Steve Ebersole
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 wrote: > ...heh, it's already in the docs ;) > > > http://d