Package | Description |
---|---|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.dialect |
This package abstracts the SQL dialect of the underlying database.
|
org.hibernate.engine |
This package contains classes that are "shared" by other packages,
and implementations of some key algorithms.
|
org.hibernate.exception |
This package is a fork of Apache commons-lang nestable exceptions.
|
org.hibernate.impl |
This package contains implementations of the
central Hibernate APIs, especially the
Hibernate session.
|
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
Modifier and Type | Method and Description |
---|---|
SQLExceptionConverter |
Settings.getSQLExceptionConverter() |
Modifier and Type | Method and Description |
---|---|
SQLExceptionConverter |
Cache71Dialect.buildSQLExceptionConverter() |
SQLExceptionConverter |
Dialect.buildSQLExceptionConverter()
Build an instance of the SQLExceptionConverter preferred by this dialect for
converting SQLExceptions into Hibernate's JDBCException hierarchy.
|
Modifier and Type | Method and Description |
---|---|
SQLExceptionConverter |
SessionFactoryImplementor.getSQLExceptionConverter()
Retrieves the SQLExceptionConverter in effect for this SessionFactory.
|
Modifier and Type | Class and Description |
---|---|
class |
CacheSQLStateConverter
A SQLExceptionConverter implementation specific to Caché SQL,
accounting for its custom integrity constraint violation error codes.
|
class |
SQLStateConverter
A SQLExceptionConverter implementation which performs converion based on
the underlying SQLState.
|
Modifier and Type | Method and Description |
---|---|
static SQLExceptionConverter |
SQLExceptionConverterFactory.buildMinimalSQLExceptionConverter()
Builds a minimal converter.
|
static SQLExceptionConverter |
SQLExceptionConverterFactory.buildSQLExceptionConverter(Dialect dialect,
Properties properties)
Build a SQLExceptionConverter instance.
|
Modifier and Type | Method and Description |
---|---|
static JDBCException |
JDBCExceptionHelper.convert(SQLExceptionConverter converter,
SQLException sqlException,
String message)
Converts the given SQLException into Hibernate's JDBCException hierarchy, as well as performing
appropriate logging.
|
static JDBCException |
JDBCExceptionHelper.convert(SQLExceptionConverter converter,
SQLException sqlException,
String message,
String sql)
Converts the given SQLException into Hibernate's JDBCException hierarchy, as well as performing
appropriate logging.
|
Modifier and Type | Method and Description |
---|---|
SQLExceptionConverter |
SessionFactoryImpl.getSQLExceptionConverter() |
Modifier and Type | Method and Description |
---|---|
protected SQLExceptionConverter |
AbstractCollectionPersister.getSQLExceptionConverter() |
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved