Re: how to qualifier a PK?

From: Eric Schneider (eri..entralparksoftware.com)
Date: Thu Sep 02 2004 - 08:53:45 EDT

  • Next message: Peter Backx: "1-to-many relationships do not update on new query"

    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 - 08:54:20 EDT