Re: Primary key

From: Mike Kienenberger (mkienen..laska.net)
Date: Wed Apr 20 2005 - 12:27:49 EDT

  • Next message: Erik Hatcher: "Re: log4j/jetty5 issues"

    Sami Mohammed <SMOHAMME..ndependenthealth.com> wrote:
    > tableKey = table.getCwTableKey().intValue(); ---> here i want the
    primary key something like "db:Table_key"

    I suspect you want

    tableKey = org.objectstyle.cayenne.DataObjectUtils.intPKForObject(table);

    Also, there's no need to post your question multiple times.

    -Mike



    This archive was generated by hypermail 2.0.0 : Wed Apr 20 2005 - 12:26:12 EDT