Skip to content

Commit b63da4b

Browse files
committed
HHH-10053 : Revert HHH-9736; BigIntegerType really should use NumericTypeDescriptor
(cherry picked from commit 2dc0adb)
1 parent 38b3ed1 commit b63da4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hibernate-core/src/main/java/org/hibernate/type/BigIntegerType.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import org.hibernate.dialect.Dialect;
1212
import org.hibernate.type.descriptor.java.BigIntegerTypeDescriptor;
1313
import org.hibernate.type.descriptor.sql.BigIntTypeDescriptor;
14+
import org.hibernate.type.descriptor.sql.NumericTypeDescriptor;
1415

1516
/**
1617
* A type that maps between a {@link java.sql.Types#NUMERIC NUMERIC} and {@link BigInteger}.
@@ -25,7 +26,7 @@ public class BigIntegerType
2526
public static final BigIntegerType INSTANCE = new BigIntegerType();
2627

2728
public BigIntegerType() {
28-
super( BigIntTypeDescriptor.INSTANCE, BigIntegerTypeDescriptor.INSTANCE );
29+
super( NumericTypeDescriptor.INSTANCE, BigIntegerTypeDescriptor.INSTANCE );
2930
}
3031

3132
@Override

0 commit comments

Comments
 (0)