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 ofSession
andStatelessSession
, the most important APIs exposing persistence-related operations for entities.org.hibernate.dialect.lock Support forDialect
-specific locking strategies.org.hibernate.engine.jdbc.connections.internal Various implementations of the SPI contracts for obtaining JDBCConnection
s.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-specificSQLException
s arising from a JDBC driver into something more uniform and meaningful.org.hibernate.exception.internal org.hibernate.exception.spi An SPI forDialect
-specific exception interpretation and conversion.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.result.internal org.hibernate.tool.schema.extract.internal Implementation of the SPI for schema information extraction from the database via JDBC. -
-
Uses of JDBCException in org.hibernate
Subclasses of JDBCException in org.hibernate Modifier and Type Class Description class
PessimisticLockException
Thrown when a pessimistic locking conflict occurs.class
QueryTimeoutException
Thrown when a database query timeout occurs. -
Uses of JDBCException in org.hibernate.dialect.lock
Methods in org.hibernate.dialect.lock that throw JDBCException Modifier and Type Method Description void
SelectLockingStrategy. 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 JDBCException Constructor Description PessimisticEntityLockException(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 JDBCException Modifier and Type Method Description protected 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 JDBCException Modifier and Type Method Description JDBCException
BasicSQLExceptionConverter. 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 JDBCException
SqlExceptionHelper. convert(SQLException sqlException, String message)
Convert an SQLException using the current converter, doing some logging first.JDBCException
SqlExceptionHelper. convert(SQLException sqlException, String message, String sql)
Convert an SQLException using the current converter, doing some logging first.JDBCException
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 Modifier and Type Method Description JDBCException
ExceptionConverter. convert(SQLException e, String message)
-
Uses of JDBCException in org.hibernate.exception
Subclasses of JDBCException in org.hibernate.exception Modifier and Type Class Description class
ConstraintViolationException
AJDBCException
indicating that the requested DML operation resulted in violation of a defined integrity constraint.class
DataException
ExtendsJDBCException
indicating that evaluation of the valid SQL statement against the given data resulted in some illegal operation, mismatched types or incorrect cardinality.class
GenericJDBCException
Generic, non-specific flavor ofJDBCException
.class
JDBCConnectionException
AJDBCException
indicating a problem communicating with the database (can also include incorrect JDBC setup).class
LockAcquisitionException
AJDBCException
indicating a problem acquiring a lock on the database.class
LockTimeoutException
AJDBCException
indicating that a lock request timed out on the database.class
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. -
Uses of JDBCException in org.hibernate.exception.internal
Methods in org.hibernate.exception.internal that return JDBCException Modifier and Type Method Description @Nullable JDBCException
SQLExceptionTypeDelegate. convert(SQLException sqlException, String message, String sql)
@Nullable JDBCException
SQLStateConversionDelegate. convert(SQLException sqlException, String message, String sql)
JDBCException
StandardSQLExceptionConverter. convert(SQLException sqlException, String message, String sql)
-
Uses of JDBCException in org.hibernate.exception.spi
Methods in org.hibernate.exception.spi that return JDBCException Modifier and Type Method Description @Nullable JDBCException
SQLExceptionConversionDelegate. convert(SQLException sqlException, String message, String sql)
Convert the givenSQLException
to a subtype ofJDBCException
, if possible.JDBCException
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 JDBCException Modifier and Type Method Description JDBCException
ExceptionConverterImpl. convert(SQLException e, String message)
-
Uses of JDBCException in org.hibernate.result.internal
Methods in org.hibernate.result.internal that return JDBCException Modifier and Type Method Description protected 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 JDBCException Modifier and Type Method Description protected JDBCException
AbstractInformationExtractorImpl. convertSQLException(SQLException sqlException, String message)
-