|
@Gary Hu, this appears to no longer be an issue – there's nothing to fix upstream. That Loader code now looks like:
catch ( SQLException sqle ) {
session.getTransactionCoordinator().getJdbcCoordinator().release( st );
throw sqle;
}
catch ( HibernateException he ) {
session.getTransactionCoordinator().getJdbcCoordinator().release( st );
throw he;
}
session.getTransactionCoordinator().getJdbcCoordinator().release( st ) does not throw a new exception – it catches, logs, and returns early. So, the re-thrown original Exception will still come through from Loader.
|