Re: oid as PK

From: Borut Bolčin (bo..ajdi.si)
Date: Sat Jul 08 2006 - 06:56:20 EDT

  • Next message: Andrus Adamchik: "Re: more fault resolving oddness"

    Thanks Andrus!

    Andrus Adamchik pravi:
    >
    > 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 : Sat Jul 08 2006 - 06:56:34 EDT