Caused by: org.hibernate.NonUniqueResultException: query did not return a unique result: 2 at org.hibernate.query.internal.AbstractProducedQuery.uniqueElement(AbstractProducedQuery.java:1684) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.hibernate.query.internal.AbstractProducedQuery.uniqueResult(AbstractProducedQuery.java:1659) ~[hibernate-core-5.6.0.Final.jar:5.6.0.Final] at org.openbravo.dal.service.OBQuery.uniqueResult(OBQuery.java:100) ~[classes/:?] at org.openbravo.service.external.integration.importer.DalSynchronizableBusinessObjectImporter.getBobFromUniqueProperties(DalSynchronizableBusinessObjectImporter.java:192) ~[classes/:?] at org.openbravo.service.external.integration.importer.DalSynchronizableBusinessObjectImporter.getBaseOBObjectFromDatabase(DalSynchronizableBusinessObjectImporter.java:154) ~[classes/:?] at org.openbravo.service.external.integration.importer.DalSynchronizableBusinessObjectImporter.getMappedItem(DalSynchronizableBusinessObjectImporter.java:78) ~[classes/:?] at org.openbravo.service.external.integration.importer.DalSynchronizableBusinessObjectImporter.getMappedItem(DalSynchronizableBusinessObjectImporter.java:55) ~[classes/:?] at org.openbravo.service.external.integration.importer.SynchronizableBusinessObjectImporter.createOrUpdateItem(SynchronizableBusinessObjectImporter.java:155) ~[classes/:?] at org.openbravo.service.external.integration.importer.SynchronizableBusinessObjectImporter.importFromSynchronizableBusinessObject(SynchronizableBusinessObjectImporter.java:126) ~[classes/:?] at org.openbravo.service.external.integration.mapping.EntityPropertyMapping.setMappingValue(EntityPropertyMapping.java:258) ~[classes/:?] at org.openbravo.service.external.integration.mapping.EntityPropertyMapping.setMappingValue(EntityPropertyMapping.java:37) ~[classes/:?] at org.openbravo.service.external.integration.mapping.PropertyMapping.importMappingValue(PropertyMapping.java:146) ~[classes/:?] at org.openbravo.service.external.integration.mapping.PropertyMapper.applyImportMappingIfMeetConditions(PropertyMapper.java:271) ~[classes/:?] at org.openbravo.service.external.integration.mapping.PropertyMapper.lambda$applyImportMappings$2(PropertyMapper.java:264) ~[classes/:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) ~[?:?] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) ~[?:?] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) ~[?:?] at org.openbravo.service.external.integration.mapping.PropertyMapper.applyImportMappings(PropertyMapper.java:263) ~[classes/:?] at org.openbravo.service.external.integration.mapping.PropertyMapper.applyNonPrimitiveMappings(PropertyMapper.java:254) ~[classes/:?] at org.openbravo.service.external.integration.mapping.PropertyMapper.applyMappingToSubEntities(PropertyMapper.java:236) ~[classes/:?] at org.openbravo.service.external.integration.importer.SynchronizableBusinessObjectImporter.createOrUpdateSubEntities(SynchronizableBusinessObjectImporter.java:274) ~[classes/:?] at org.openbravo.service.external.integration.importer.SynchronizableBusinessObjectImporter.createOrUpdateItem(SynchronizableBusinessObjectImporter.java:170) ~[classes/:?] at org.openbravo.service.external.integration.importer.SynchronizableBusinessObjectImporter.importFromSynchronizableBusinessObject(SynchronizableBusinessObjectImporter.java:126) ~[classes/:?] at org.openbravo.service.external.integration.edl.BaseImportItemProcessor.importSBO(BaseImportItemProcessor.java:77) ~[classes/:?] at org.openbravo.service.external.integration.edl.BaseImportItemProcessor.processItem(BaseImportItemProcessor.java:56) ~[classes/:?] ... 12 more