[jOOQ/jOOQ#16090] OTHER isn't really like other BuiltInDataTypes
This commit is contained in:
parent
cfc5221ad3
commit
e72268843f
@ -33933,7 +33933,13 @@ public class DSL {
|
||||
static <T> Param<T> val0(T value, boolean inferredDataType) {
|
||||
Class type = value == null ? Object.class : value.getClass();
|
||||
DataType dataType = getDataType0(type);
|
||||
return val0(value, dataType, inferredDataType || !(dataType instanceof BuiltInDataType));
|
||||
return val0(
|
||||
value,
|
||||
dataType,
|
||||
inferredDataType
|
||||
|| !(dataType instanceof BuiltInDataType)
|
||||
|| dataType.isOther()
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user