| Scott Marlow, thanks for pointing out where things go awry. ResultSetReturnImp#extract is converting the SQLException into an org.hibernate.JDBCException, which is not caught until it's too late. Adding a catch block for HibernateException to Loader#getResultSet, similar to what is done in Loader#prepareQueryStatement fixes this. |