handle also JsonNode

This commit is contained in:
Roland Praml committed 2021-08-13 11:19:24 +02:00
1 parent 965c1e803f
commit 6b263919d5
3 files changed
+28 -20

No files matched your search

@@ -364,7 +364,7 @@ public final class DefaultTypeManager implements TypeManager {
return createJsonObjectMapperType(prop, dbType, DocPropertyType.OBJECT);
}
}
if (objectMapperPresent) {
if (objectMapperPresent && prop.getMutationDetection() == MutationDetection.DEFAULT) {
if (type.equals(JsonNode.class)) {
switch (dbType) {
case Types.VARCHAR: