Added SQL command "EXISTS" and "NOT EXISTS" to Ebean (ExpressionFactory,

ExpressionList).
This commit is contained in:
Ryszard-Trojnacki
2015-03-19 10:43:12 +01:00
parent f78f4ea64a
commit 2e03452e2e
7 changed files with 188 additions and 0 deletions
@@ -361,6 +361,16 @@ abstract class JunctionExpression<T> implements Junction<T>, SpiExpression, Expr
public ExpressionList<T> in(String propertyName, com.avaje.ebean.Query<?> subQuery) {
return exprList.in(propertyName, subQuery);
}
@Override
public ExpressionList<T> exists(Query<?> subQuery) {
return exprList.exists(subQuery);
}
@Override
public ExpressionList<T> notExists(Query<?> subQuery) {
return exprList.exists(subQuery);
}
@Override
public ExpressionList<T> isNotNull(String propertyName) {