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
This archive was generated by hypermail 2.0.0 : Fri Jul 07 2006 - 09:39:54 EDT