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:
Par Winzell
2008-12-09 20:28:20 +00:00
parent 76268a7fb1
commit 817857d20e
+1 -1
View File
@@ -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>>