Uses of Class
org.hibernate.JDBCException
-
Packages that use JDBCException Package Description org.hibernate This package defines the central Hibernate APIs, beginning withSessionFactory, which represents an instance of Hibernate at runtime and is the source of new instances ofSessionandStatelessSession, the most important APIs exposing persistence-related operations for entities.org.hibernate.dialect.lock Support forDialect-specific locking strategies.org.hibernate.engine.jdbc.dialect.spi Contracts supporting Dialect resolution (from JDBC metadata) and Dialect building.org.hibernate.engine.jdbc.spi SPI contracts supporting various aspects of JDBC interaction.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.exception Defines certain very important flavors ofJDBCException, along with an SPI for interpreting product-specificSQLExceptions arising from a JDBC driver into something more uniform and meaningful.org.hibernate.exception.spi An SPI forDialect-specific exception interpretation and conversion. -
-
Uses of JDBCException in org.hibernate
Subclasses of JDBCException in org.hibernate Modifier and Type Class Description classPessimisticLockExceptionThrown when a pessimistic locking conflict occurs.classQueryTimeoutExceptionThrown when a database query timeout occurs. -
Uses of JDBCException in org.hibernate.dialect.lock
Methods in org.hibernate.dialect.lock with parameters of type JDBCException Modifier and Type Method Description protected HibernateExceptionAbstractSelectLockingStrategy. convertException(Object entity, JDBCException ex)protected HibernateExceptionPessimisticReadSelectLockingStrategy. convertException(Object entity, JDBCException ex)protected HibernateExceptionPessimisticWriteSelectLockingStrategy. convertException(Object entity, JDBCException ex)protected HibernateExceptionSelectLockingStrategy. convertException(Object entity, JDBCException ex)Methods in org.hibernate.dialect.lock that throw JDBCException Modifier and Type Method Description voidAbstractSelectLockingStrategy. lock(Object id, Object version, Object object, int timeout, EventSource session)voidUpdateLockingStrategy. lock(Object id, Object version, Object object, int timeout, EventSource session)Constructors in org.hibernate.dialect.lock with parameters of type JDBCException Constructor Description PessimisticEntityLockException(Object entity, String message, JDBCException cause)Constructs a PessimisticEntityLockException -
Uses of JDBCException in org.hibernate.engine.jdbc.dialect.spi
Methods in org.hibernate.engine.jdbc.dialect.spi that return JDBCException Modifier and Type Method Description JDBCExceptionBasicSQLExceptionConverter. convert(SQLException sqlException)Perform a conversion. -
Uses of JDBCException in org.hibernate.engine.jdbc.spi
Methods in org.hibernate.engine.jdbc.spi that return JDBCException Modifier and Type Method Description JDBCExceptionSqlExceptionHelper. convert(SQLException sqlException, String message)Convert an SQLException using the current converter, doing some logging first.JDBCExceptionSqlExceptionHelper. convert(SQLException sqlException, String message, String sql)Convert an SQLException using the current converter, doing some logging first.JDBCExceptionSqlExceptionHelper. convert(SQLException sqlException, Supplier<String> messageSupplier, String sql)Convert an SQLException using the current converter, doing some logging first. -
Uses of JDBCException in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return JDBCException Modifier and Type Method Description JDBCExceptionExceptionConverter. convert(SQLException e, String message) -
Uses of JDBCException in org.hibernate.exception
Subclasses of JDBCException in org.hibernate.exception Modifier and Type Class Description classConstraintViolationExceptionAJDBCExceptionindicating that the requested DML operation resulted in violation of a defined integrity constraint.classDataExceptionExtendsJDBCExceptionindicating that evaluation of the valid SQL statement against the given data resulted in some illegal operation, mismatched types or incorrect cardinality.classGenericJDBCExceptionGeneric, non-specific flavor ofJDBCException.classJDBCConnectionExceptionAJDBCExceptionindicating a problem communicating with the database (can also include incorrect JDBC setup).classLockAcquisitionExceptionAJDBCExceptionindicating a problem acquiring a lock on the database.classLockTimeoutExceptionAJDBCExceptionindicating that a lock request timed out on the database.classSQLGrammarExceptionSpecialization ofJDBCExceptionindicating that the SQL sent to the database server was invalid, either due to a syntax error, unrecognized name, or similar problem. -
Uses of JDBCException in org.hibernate.exception.spi
Methods in org.hibernate.exception.spi that return JDBCException Modifier and Type Method Description @Nullable JDBCExceptionSQLExceptionConversionDelegate. convert(SQLException sqlException, String message, String sql)Convert the givenSQLExceptionto a subtype ofJDBCException, if possible.JDBCExceptionSQLExceptionConverter. convert(SQLException sqlException, String message, String sql)Convert the givenSQLExceptionto a subtype ofJDBCException.
-