HHH-7032 : Deprecate Dialect.buildSQLExceptionConverter()

This commit is contained in:
Gail Badner 2012-02-07 23:59:54 -06:00
parent b8acbc85e6
commit 4595df2395
1 changed files with 3 additions and 2 deletions

View File

@ -60,7 +60,6 @@ import org.hibernate.dialect.lock.PessimisticWriteSelectLockingStrategy;
import org.hibernate.dialect.lock.SelectLockingStrategy; import org.hibernate.dialect.lock.SelectLockingStrategy;
import org.hibernate.engine.jdbc.LobCreator; import org.hibernate.engine.jdbc.LobCreator;
import org.hibernate.engine.spi.SessionImplementor; import org.hibernate.engine.spi.SessionImplementor;
import org.hibernate.exception.internal.SQLStateConverter;
import org.hibernate.exception.spi.ConversionContext; import org.hibernate.exception.spi.ConversionContext;
import org.hibernate.exception.spi.SQLExceptionConversionDelegate; import org.hibernate.exception.spi.SQLExceptionConversionDelegate;
import org.hibernate.exception.spi.SQLExceptionConverter; import org.hibernate.exception.spi.SQLExceptionConverter;
@ -1526,9 +1525,11 @@ public abstract class Dialect implements ConversionContext {
* @return The Dialect's preferred SQLExceptionConverter, or null to * @return The Dialect's preferred SQLExceptionConverter, or null to
* indicate that the default {@link SQLExceptionConverter} should be used. * indicate that the default {@link SQLExceptionConverter} should be used.
* *
* @see {@link #buildSQLExceptionConversionDelegate()} should be * @see {@link #buildSQLExceptionConversionDelegate()}
* @deprecated {@link #buildSQLExceptionConversionDelegate()} should be
* overridden instead. * overridden instead.
*/ */
@Deprecated
public SQLExceptionConverter buildSQLExceptionConverter() { public SQLExceptionConverter buildSQLExceptionConverter() {
return null; return null;
} }