Ported changes made on master
This commit is contained in:
parent
ac54fe6694
commit
a4b9d14707
|
@ -1085,6 +1085,12 @@ public abstract class ElementManagement<El extends OElement, T extends Type> {
|
|||
if(object != null) {
|
||||
if(object instanceof ODocument) {
|
||||
element.setProperty(key, object, OType.EMBEDDED);
|
||||
/*
|
||||
* 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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue