#1783 - Save bean with only *ToMany relations with user generated ID

This commit is contained in:
rob bygrave committed 2019-08-07 22:28:51 +12:00
1 parent a115cdf095
commit b3d0c21a80
4 files changed
+101 -1

No files matched your search

@@ -3202,7 +3202,7 @@ public class BeanDescriptor<T> implements BeanType<T>, STreeType {
}
boolean hasIdPropertyOnly(EntityBeanIntercept ebi) {
return ebi.hasIdOnly(idPropertyIndex);
return propertiesBaseScalar.length > 0 && ebi.hasIdOnly(idPropertyIndex);
}
public boolean isIdLoaded(EntityBeanIntercept ebi) {