mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-03-01 23:39:15 +00:00
HHH-12289 - One call of the SessionImpl#listeners( ) method from SessionImpl#autoFlushIfRequired() is useless.
This commit is contained in:
parent
99b7f7e9b8
commit
848217146c
@ -1393,7 +1393,6 @@ protected boolean autoFlushIfRequired(Set querySpaces) throws HibernateException
|
||||
return false;
|
||||
}
|
||||
AutoFlushEvent event = new AutoFlushEvent( querySpaces, this );
|
||||
listeners( EventType.AUTO_FLUSH );
|
||||
for ( AutoFlushEventListener listener : listeners( EventType.AUTO_FLUSH ) ) {
|
||||
listener.onAutoFlush( event );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user