HSQL doesn't think 'false' is a proper condition in a DELETE statement, and I suppose it has a point. This should always work.
This commit is contained in:
@@ -128,7 +128,7 @@ public abstract class KeySet<T extends PersistentRecord> extends WhereClause
|
|||||||
|
|
||||||
// from WhereClause
|
// from WhereClause
|
||||||
public SQLExpression getWhereExpression () {
|
public SQLExpression getWhereExpression () {
|
||||||
return new LiteralExp("false");
|
return new LiteralExp("(1 = 0)");
|
||||||
}
|
}
|
||||||
|
|
||||||
// from Iterable<Key<T>>
|
// from Iterable<Key<T>>
|
||||||
|
|||||||
Reference in New Issue
Block a user