Fixing #24225
This commit is contained in:
parent
9c0d0eeae2
commit
9cd326be98
|
@ -894,7 +894,7 @@ public abstract class ElementManagement<El extends OElement, T extends Type> {
|
||||||
return PropertyElementManagement.getPropertyDocument(value);
|
return PropertyElementManagement.getPropertyDocument(value);
|
||||||
|
|
||||||
case ARRAY:
|
case ARRAY:
|
||||||
return value;
|
break;
|
||||||
|
|
||||||
case BINARY:
|
case BINARY:
|
||||||
break;
|
break;
|
||||||
|
@ -1076,6 +1076,8 @@ public abstract class ElementManagement<El extends OElement, T extends Type> {
|
||||||
if(object != null) {
|
if(object != null) {
|
||||||
if(object instanceof ODocument) {
|
if(object instanceof ODocument) {
|
||||||
element.setProperty(key, object, OType.EMBEDDED);
|
element.setProperty(key, object, OType.EMBEDDED);
|
||||||
|
}else if(object instanceof ArrayNode){
|
||||||
|
element.setProperty(key, object, OType.EMBEDDEDLIST);
|
||||||
}else {
|
}else {
|
||||||
element.setProperty(key, object);
|
element.setProperty(key, object);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue