Ported changes made on master
This commit is contained in:
parent
ac54fe6694
commit
a4b9d14707
|
@ -1085,7 +1085,13 @@ 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 {
|
/*
|
||||||
|
* Due to bug https://github.com/orientechnologies/orientdb/issues/7354
|
||||||
|
* we should not support ArrayList
|
||||||
|
*/
|
||||||
|
} else if(object instanceof List){
|
||||||
|
element.setProperty(key, object, OType.EMBEDDEDLIST);
|
||||||
|
} else {
|
||||||
element.setProperty(key, object);
|
element.setProperty(key, object);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue