Re: how to qualifier a PK?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Sep 02 2004 - 10:21:26 EDT

  • Next message: Sako!: "Re: how to qualifier a PK?"

    .. or use our new DataObjectUtils that are not yet documented in the
    user guide:

    http://objectstyle.org/cayenne/api/cayenne/org/objectstyle/cayenne/
    DataObjectUtils.html

    Andrus

    On Sep 2, 2004, at 8:53 AM, Eric Schneider wrote:

    > Sako,
    >
    > Try the ExpressionFactory.matchDbExp() API. Something like:
    >
    > Expression qual = ExpressionFactory.matchDbExp("MY_PK_COL", 66);
    >
    > Cheers,
    > e.
    >
    > On Sep 2, 2004, at 7:58 AM, Sako! wrote:
    >
    >> Hello,
    >>  
    >> i imported a Table from the DB in Cayenne.
    >> i want to search for a row where pk = xxx
    >> i used the qualifier in the query lik
    >> nr=$nr
    >>  
    >> Cayenne say : invalid path in the qualifier 'nr'.
    >>  
    >> how can i make the nr visible for cayenne?
    >>  
    >> thanks.



    This archive was generated by hypermail 2.0.0 : Thu Sep 02 2004 - 10:21:30 EDT