HHH-10053 : Revert HHH-9736; BigIntegerType really should use NumericTypeDescriptor
This commit is contained in:
parent
73c46e298c
commit
2dc0adb893
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue