On Jul 7, 2006, at 12:52 AM, Borut Bolčina wrote:
qual = qual.andExp(ExpressionFactory.greaterExp("oid", lastIndexedSource));
Actually you can use an expression with "db:" prefix to match on a table column that is not an object property. ExpressionFactory doesn't have a "db" flavor for some of its methods, including 'greaterExp' (an oversight on our part), but you can use Expression.fromString(..)
qual = qual.andExp(Expression.fromString("db:oid > " + lastIndexedSource));
Andrus
