| Unfortunately, maybe we should. The "problem" is the org.hibernate.jdbc.Expectation contract as currently defined. It explicitly lists SQLException and HibernateException as possible exceptions. Ideally I would have limited Expectation to throwing JDBCException or StaleStateException. |