| I should note that I didn’t see an obvious way to implement this as Hibernate does not retain a copy of the SQL for prepared statements it uses and statement execution is often in a different context from preparation of the statement object. Since the statement objects don’t appear to include SQL (driver-dependant), it isn’t clear what would be required in Hibernate to carry along SQL to the point where execution might fail. |