[jOOQ/jOOQ#15060] Fixed regression
This commit is contained in:
parent
76cf125c55
commit
61de997ccd
@ -289,7 +289,7 @@ final class JSONEntryImpl<T> extends AbstractQueryPart implements JSONEntry<T>,
|
||||
case POSTGRES:
|
||||
case YUGABYTEDB:
|
||||
if (field instanceof Param)
|
||||
if (field.getDataType().isOther())
|
||||
if (!field.getDataType().isOther())
|
||||
return field.cast(field.getDataType());
|
||||
else
|
||||
return field.cast(VARCHAR);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user