HHH-5590 : Don't log and rethrow exception in AbstractFlushingEventListener
This commit is contained in:
parent
7d22b9bfe1
commit
c582707c86
|
@ -320,10 +320,6 @@ public abstract class AbstractFlushingEventListener implements Serializable {
|
||||||
session.getActionQueue().prepareActions();
|
session.getActionQueue().prepareActions();
|
||||||
session.getActionQueue().executeActions();
|
session.getActionQueue().executeActions();
|
||||||
}
|
}
|
||||||
catch (HibernateException he) {
|
|
||||||
log.error("Could not synchronize database state with session", he);
|
|
||||||
throw he;
|
|
||||||
}
|
|
||||||
finally {
|
finally {
|
||||||
session.getJDBCContext().getConnectionManager().flushEnding();
|
session.getJDBCContext().getConnectionManager().flushEnding();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue