#960 - Incorrect query when using '.betweenProperties' with '@SoftDelete'

This commit is contained in:
Rob Bygrave
2017-02-09 23:43:45 +13:00
parent d9e884b8bd
commit 82102340b8
4 changed files with 16 additions and 7 deletions
@@ -81,8 +81,7 @@ class BetweenPropertyExpression extends NonPrepareExpression {
@Override
public void addSql(SpiExpressionRequest request) {
request.append(" ? ").append(BETWEEN).append(name(lowProperty)).append(" and ").append(name(highProperty));
request.append(" ?").append(BETWEEN).append(name(lowProperty)).append(" and ").append(name(highProperty)).append(" ");
}
@Override