#715 - isNull() expression on @OneToMany or @ManyToMany produces incorrect SQL - should translate this to be same as isEmpty() and result in exists subquery

This commit is contained in:
Robin Bygrave committed 2016-05-20 17:53:11 +12:00
1 parent 0510304c0f
commit a20822a9e1
12 files changed
+171 -55

No files matched your search

@@ -178,6 +178,11 @@ public class ElPropertyChain implements ElPropertyValue {
return lastElPropertyValue.getAssocIdInValueExpr(size);
}
@Override
public boolean isAssocMany() {
return lastElPropertyValue.isAssocMany();
}
public boolean isAssocId() {
return assocId;
}
@@ -31,6 +31,11 @@ public interface ElPropertyValue extends ElPropertyDeploy, ExpressionPath {
*/
boolean isAssocId();
/**
* Return true if the property is a OneToMany or ManyToMany associated bean property.
*/
boolean isAssocMany();
/**
* Return true if any path of this path contains a Associated One or Many.
*/