[jOOQ/jOOQ#17067] Fix support for special float values NaN, Infinity in

MULTISET usage
This commit is contained in:
Lukas Eder 2024-08-15 16:31:51 +02:00
parent 727c2448dd
commit 8b60baf07d

View File

@ -595,8 +595,8 @@ final class Multiset<R extends Record> extends AbstractField<Result<R>> implemen
static final Field<?> castForJSON(Context<?> ctx, Field<?> field) {
DataType<?> t = field.getDataType();
// [#10880] Many dialects don't support NaN and other float values in JSON documents as numbers
if (t.isDecimal() && t.isFloat()) {
// [#10880] [#17067] Many dialects don't support NaN and other float values in JSON documents as numbers
if (t.isFloat()) {
switch (ctx.family()) {
case H2: