diff --git a/jOOQ/src/main/java/org/jooq/impl/DSL.java b/jOOQ/src/main/java/org/jooq/impl/DSL.java index f6c829e0bb..598d6b3745 100644 --- a/jOOQ/src/main/java/org/jooq/impl/DSL.java +++ b/jOOQ/src/main/java/org/jooq/impl/DSL.java @@ -33933,7 +33933,13 @@ public class DSL { static Param 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() + ); } /**