Package org.hibernate.exception
Defines certain very important flavors of
JDBCException
,
along with an SPI for interpreting product-specific SQLException
s
arising from a JDBC driver into something more uniform and meaningful.-
Enum Summary Enum Description ConstraintViolationException.ConstraintKind -
Exception Summary Exception Description ConstraintViolationException AJDBCException
indicating that the requested DML operation resulted in violation of a defined integrity constraint.DataException ExtendsJDBCException
indicating that evaluation of the valid SQL statement against the given data resulted in some illegal operation, mismatched types or incorrect cardinality.GenericJDBCException Generic, non-specific flavor ofJDBCException
.JDBCConnectionException AJDBCException
indicating a problem communicating with the database (can also include incorrect JDBC setup).LockAcquisitionException AJDBCException
indicating a problem acquiring a lock on the database.LockTimeoutException AJDBCException
indicating that a lock request timed out on the database.SQLGrammarException Specialization ofJDBCException
indicating that the SQL sent to the database server was invalid, either due to a syntax error, unrecognized name, or similar problem.