Package org.hibernate.exception
package org.hibernate.exception
Defines certain very important flavors of
JDBCException,
along with an SPI for interpreting product-specific SQLExceptions
arising from a JDBC driver into something more uniform and meaningful.-
ClassDescriptionA
JDBCExceptionindicating that the requested DML operation resulted in violation of a defined integrity constraint.ExtendsJDBCExceptionindicating that evaluation of the valid SQL statement against the given data resulted in some illegal operation, mismatched types or incorrect cardinality.Generic, non-specific flavor ofJDBCException.AJDBCExceptionindicating a problem communicating with the database (can also include incorrect JDBC setup).AJDBCExceptionindicating a problem acquiring a lock on the database.AJDBCExceptionindicating that a lock request timed out on the database.Specialization ofJDBCExceptionindicating that the SQL sent to the database server was invalid, either due to a syntax error, unrecognized name, or similar problem.