From e72268843fc87b48b9f8c231222bb80014874657 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Mon, 11 Mar 2024 13:13:23 +0100 Subject: [PATCH] [jOOQ/jOOQ#16090] OTHER isn't really like other BuiltInDataTypes --- jOOQ/src/main/java/org/jooq/impl/DSL.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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() + ); } /**