handle also JsonNode

This commit is contained in:
Roland Praml
2021-08-13 11:19:24 +02:00
parent 965c1e803f
commit 6b263919d5
3 changed files with 28 additions and 20 deletions
@@ -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: