java.lang.Object | |
↳ | org.hibernate.exception.SQLExceptionConverterFactory |
A factory for building SQLExceptionConverter instances.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builds a minimal converter.
| |||||||||||
Build a SQLExceptionConverter instance.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Builds a minimal converter. The instance returned here just always converts to
GenericJDBCException
.
Build a SQLExceptionConverter instance.
First, looks for aSQL_EXCEPTION_CONVERTER
property to see
if the configuration specified the class of a specific converter to use. If this
property is set, attempt to construct an instance of that class. If not set, or
if construction fails, the converter specific to the dialect will be used.dialect | The defined dialect. |
---|---|
properties | The configuration properties. |
HibernateException | There was an error building the SQLExceptionConverter. |
---|