Skip to content

Commit 50bbea4

Browse files
committed
don't call noInterceptor(), due to change in semantics after HHH-19737
also see HHH-14540
1 parent d083326 commit 50bbea4

File tree

1 file changed

+2
-2
lines changed
  • hibernate-envers/src/main/java/org/hibernate/envers/internal/synchronization

1 file changed

+2
-2
lines changed

hibernate-envers/src/main/java/org/hibernate/envers/internal/synchronization/AuditProcess.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public void doBeforeTransactionCompletion(SharedSessionContractImplementor sessi
148148
if ( statelessSession.isClosed() ) {
149149
try (StatelessSessionImplementor temporarySession = (StatelessSessionImplementor) statelessSession.statelessWithOptions()
150150
.connection()
151-
.noInterceptor()
151+
// .noInterceptor()
152152
.open()) {
153153
executeInStatelessSession( temporarySession );
154154
}
@@ -164,7 +164,7 @@ else if ( FlushMode.MANUAL.equals( session.getHibernateFlushMode() ) || session.
164164
.connection()
165165
.autoClose( false )
166166
.connectionHandlingMode( PhysicalConnectionHandlingMode.DELAYED_ACQUISITION_AND_RELEASE_AFTER_TRANSACTION )
167-
.noInterceptor()
167+
// .noInterceptor()
168168
.openSession()) {
169169
executeInSession( temporarySession );
170170
temporarySession.flush();

0 commit comments

Comments
 (0)