hibernate/hibernate-orm — pull request #647 by sebplorenz (2013-12-19 11:23:20+00:00)
Title: Fix for [HHH-8181]

This fix uses suppressed throwables to make sure that any exception thrown within the try clause of a managed flush is sent to the client even if there is another exception in the finally clause. The runtime exception from within the finally clause is added as a suppressed exception to the exception originating from the try clause.