HHH-10053 : Revert HHH-9736; BigIntegerType really should use NumericTypeDescriptor

(cherry picked from commit 2dc0adb893)
This commit is contained in:
Gail Badner 2015-09-02 13:04:56 -07:00
parent 38b3ed1ae9
commit b63da4bcdc
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import java.math.BigInteger;
import org.hibernate.dialect.Dialect;
import org.hibernate.type.descriptor.java.BigIntegerTypeDescriptor;
import org.hibernate.type.descriptor.sql.BigIntTypeDescriptor;
import org.hibernate.type.descriptor.sql.NumericTypeDescriptor;
/**
* A type that maps between a {@link java.sql.Types#NUMERIC NUMERIC} and {@link BigInteger}.
@ -25,7 +26,7 @@ public class BigIntegerType
public static final BigIntegerType INSTANCE = new BigIntegerType();
public BigIntegerType() {
super( BigIntTypeDescriptor.INSTANCE, BigIntegerTypeDescriptor.INSTANCE );
super( NumericTypeDescriptor.INSTANCE, BigIntegerTypeDescriptor.INSTANCE );
}
@Override