This commit is contained in:
Luca Frosini 2022-12-05 16:07:31 +01:00
parent 9c0d0eeae2
commit 9cd326be98
1 changed files with 3 additions and 1 deletions

View File

@ -894,7 +894,7 @@ public abstract class ElementManagement<El extends OElement, T extends Type> {
return PropertyElementManagement.getPropertyDocument(value);
case ARRAY:
return value;
break;
case BINARY:
break;
@ -1076,6 +1076,8 @@ public abstract class ElementManagement<El extends OElement, T extends Type> {
if(object != null) {
if(object instanceof ODocument) {
element.setProperty(key, object, OType.EMBEDDED);
}else if(object instanceof ArrayNode){
element.setProperty(key, object, OType.EMBEDDEDLIST);
}else {
element.setProperty(key, object);
}