Re: Primary key

From: Sami Mohammed (SMOHAMME..ndependenthealth.com)
Date: Wed Apr 20 2005 - 14:25:28 EDT

  • Next message: Mike Kienenberger: "Re: Sessions and web services"

    Hi Mike,

    yes Mike ur right. i got the primary key values using ur method. Thank you.

    for posting email multiple times, i thought mail didnt send properly to u thats why send multiple times.

    Thanks
    sami

    CONFIDENTIALITY NOTICE. This e-mail and attachments, if any, may contain confidential information which is privileged and protected from disclosure by Federal and State
    confidentiality laws rules and regulations. This e-mail and attachments, if any, are intended for the designated addressee only. If you are not the designated addressee, you
    are hereby notified that any disclosure, copying, or distribution of this e-mail and its attachments, if any, may be unlawful and may subject you to legal consequences. If you
    have received this e-mail and attachments in error, please contact Independent Health immediately at (716) 631-3001 and delete the e-mail and its attachments from your
    computer. Thank you for your attention

    >>> mkienen..laska.net 04/20/05 12:27PM >>>
    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 - 15:08:32 EDT