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
|
||||
public SQLExpression getWhereExpression () {
|
||||
return new LiteralExp("false");
|
||||
return new LiteralExp("(1 = 0)");
|
||||
}
|
||||
|
||||
// from Iterable<Key<T>>
|
||||
|
||||
Reference in New Issue
Block a user