[jOOQ/jOOQ#12080] Generate a FORMAT JSON clause in Oracle's JSON_OBJECT if contents are of type JSON
This commit is contained in:
parent
6fb60a5364
commit
fb6dc22aff
@ -37,7 +37,6 @@
|
||||
*/
|
||||
package org.jooq.impl;
|
||||
|
||||
// ...
|
||||
import static org.jooq.impl.DSL.NULL;
|
||||
import static org.jooq.impl.DSL.coalesce;
|
||||
import static org.jooq.impl.DSL.field;
|
||||
@ -59,7 +58,9 @@ import org.jooq.JSONEntryValueStep;
|
||||
import org.jooq.Param;
|
||||
// ...
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.Scope;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.conf.NestedCollectionEmulation;
|
||||
|
||||
|
||||
/**
|
||||
@ -178,9 +179,6 @@ final class JSONEntryImpl<T> extends AbstractQueryPart implements JSONEntry<T>,
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
case POSTGRES:
|
||||
if (field instanceof Param)
|
||||
if (field.getType() != Object.class)
|
||||
@ -200,4 +198,12 @@ final class JSONEntryImpl<T> extends AbstractQueryPart implements JSONEntry<T>,
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user