Uses of Class
org.hibernate.JDBCException
Packages that use JDBCException
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory
, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session
and StatelessSession
,
the most important APIs exposing persistence-related operations for
entities.Support for
Dialect
-specific locking strategies.Various implementations of the SPI contracts for obtaining JDBC
Connection
s.Contracts supporting Dialect resolution (from JDBC metadata) and Dialect building.
SPI contracts supporting various aspects of JDBC interaction.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
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.An SPI for
Dialect
-specific exception
interpretation and conversion.An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.Implementation of the SPI for schema information extraction from the database via JDBC.
-
Uses of JDBCException in org.hibernate
Subclasses of JDBCException in org.hibernateModifier and TypeClassDescriptionclass
Thrown when a pessimistic locking conflict occurs.class
Thrown when a database query timeout occurs. -
Uses of JDBCException in org.hibernate.dialect.lock
Methods in org.hibernate.dialect.lock with parameters of type JDBCExceptionModifier and TypeMethodDescriptionprotected HibernateException
AbstractSelectLockingStrategy.convertException
(Object entity, JDBCException ex) protected HibernateException
PessimisticReadSelectLockingStrategy.convertException
(Object entity, JDBCException ex) protected HibernateException
PessimisticWriteSelectLockingStrategy.convertException
(Object entity, JDBCException ex) protected HibernateException
SelectLockingStrategy.convertException
(Object entity, JDBCException ex) Methods in org.hibernate.dialect.lock that throw JDBCExceptionModifier and TypeMethodDescriptionvoid
AbstractSelectLockingStrategy.lock
(Object id, Object version, Object object, int timeout, EventSource session) void
UpdateLockingStrategy.lock
(Object id, Object version, Object object, int timeout, EventSource session) Constructors in org.hibernate.dialect.lock with parameters of type JDBCExceptionModifierConstructorDescriptionPessimisticEntityLockException
(Object entity, String message, JDBCException cause) Constructs a PessimisticEntityLockException -
Uses of JDBCException in org.hibernate.engine.jdbc.connections.internal
Methods in org.hibernate.engine.jdbc.connections.internal that return JDBCExceptionModifier and TypeMethodDescriptionprotected JDBCException
BasicConnectionCreator.convertSqlException
(String message, SQLException e) -
Uses of JDBCException in org.hibernate.engine.jdbc.dialect.spi
Methods in org.hibernate.engine.jdbc.dialect.spi that return JDBCExceptionModifier and TypeMethodDescriptionBasicSQLExceptionConverter.convert
(SQLException sqlException) Perform a conversion. -
Uses of JDBCException in org.hibernate.engine.jdbc.spi
Methods in org.hibernate.engine.jdbc.spi that return JDBCExceptionModifier and TypeMethodDescriptionSqlExceptionHelper.convert
(SQLException sqlException, String message) Convert an SQLException using the current converter, doing some logging first.SqlExceptionHelper.convert
(SQLException sqlException, String message, String sql) Convert an SQLException using the current converter, doing some logging first.SqlExceptionHelper.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 -
Uses of JDBCException in org.hibernate.exception
Subclasses of JDBCException in org.hibernate.exceptionModifier and TypeClassDescriptionclass
AJDBCException
indicating an authentication or authorization failure.class
AJDBCException
indicating that the requested DML operation resulted in violation of a defined integrity constraint.class
AJDBCException
indicating that evaluation of the valid SQL statement against the given data resulted in some illegal operation, mismatched types or incorrect cardinality.class
Generic, non-specific flavor ofJDBCException
.class
AJDBCException
indicating a problem communicating with the database (can also include incorrect JDBC setup).class
AJDBCException
indicating a problem acquiring a lock on the database.class
AJDBCException
indicating that a lock request timed out on the database.class
Specialization ofJDBCException
indicating that the SQL sent to the database server was invalid, either due to a syntax error, unrecognized name, or similar problem.class
AJDBCException
indicating a transaction failed because it could not be placed into a serializable ordering among all of the currently-executing transactions -
Uses of JDBCException in org.hibernate.exception.internal
Methods in org.hibernate.exception.internal that return JDBCExceptionModifier and TypeMethodDescription@Nullable JDBCException
SQLExceptionTypeDelegate.convert
(SQLException sqlException, String message, String sql) @Nullable JDBCException
SQLStateConversionDelegate.convert
(SQLException sqlException, String message, String sql) StandardSQLExceptionConverter.convert
(SQLException sqlException, String message, String sql) -
Uses of JDBCException in org.hibernate.exception.spi
Methods in org.hibernate.exception.spi that return JDBCExceptionModifier and TypeMethodDescription@Nullable JDBCException
SQLExceptionConversionDelegate.convert
(SQLException sqlException, String message, String sql) Convert the givenSQLException
to a subtype ofJDBCException
, if possible.SQLExceptionConverter.convert
(SQLException sqlException, String message, String sql) Convert the givenSQLException
to a subtype ofJDBCException
. -
Uses of JDBCException in org.hibernate.internal
Methods in org.hibernate.internal that return JDBCExceptionMethods in org.hibernate.internal with parameters of type JDBCExceptionModifier and TypeMethodDescriptionvoid
CoreMessageLogger.jdbcExceptionThrownWithTransactionRolledBack
(JDBCException e) -
Uses of JDBCException in org.hibernate.result.internal
Methods in org.hibernate.result.internal that return JDBCExceptionModifier and TypeMethodDescriptionprotected JDBCException
OutputsImpl.convert
(SQLException e, String message) -
Uses of JDBCException in org.hibernate.tool.schema.extract.internal
Methods in org.hibernate.tool.schema.extract.internal that return JDBCExceptionModifier and TypeMethodDescriptionprotected JDBCException
AbstractInformationExtractorImpl.convertSQLException
(SQLException sqlException, String message)