|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.exception.spi.SQLExceptionConverterFactory
public class SQLExceptionConverterFactory
A factory for building SQLExceptionConverter instances.
Method Summary | |
---|---|
static SQLExceptionConverter |
buildMinimalSQLExceptionConverter()
Builds a minimal converter. |
static SQLExceptionConverter |
buildSQLExceptionConverter(Dialect dialect,
Properties properties)
Build a SQLExceptionConverter instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SQLExceptionConverter buildSQLExceptionConverter(Dialect dialect, Properties properties) throws HibernateException
AvailableSettings.SQL_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.public static SQLExceptionConverter buildMinimalSQLExceptionConverter()
GenericJDBCException
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |