[jOOQ/jOOQ#8887] Add SQLDataType.DECIMAL_INTEGER(int) as a shortcut for DataType.precision(int)
This commit is contained in:
parent
bee81a3933
commit
caa9935385
@ -277,6 +277,13 @@ public final class SQLDataType {
|
||||
*/
|
||||
public static final DataType<BigInteger> DECIMAL_INTEGER = new DefaultDataType<BigInteger>(null, BigInteger.class, "decimal_integer");
|
||||
|
||||
/**
|
||||
* The zero-scale {@link Types#DECIMAL} type.
|
||||
*/
|
||||
public static final DataType<BigInteger> DECIMAL_INTEGER(int precision) {
|
||||
return DECIMAL_INTEGER.precision(precision);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Unsigned integer types
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user