[JIRA] Resolved: (CAY-973) Log PK values for auto-generated columns

From: Michael Gentry (JIRA) ("Michael)
Date: Wed Jan 23 2008 - 10:10:33 EST

  • Next message: Tore Halset (JIRA): "[JIRA] Closed: (CAY-978) Add getEntity/getColumn to AddColumnToDb"

         [ https://issues.apache.org/cayenne/browse/CAY-973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Michael Gentry resolved CAY-973.
    --------------------------------

        Resolution: Fixed

    Added support for this issue with committed revision 614559.

    > Log PK values for auto-generated columns
    > ----------------------------------------
    >
    > Key: CAY-973
    > URL: https://issues.apache.org/cayenne/browse/CAY-973
    > Project: Cayenne
    > Issue Type: Improvement
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Environment: All
    > Reporter: Michael Gentry
    > Assignee: Michael Gentry
    > Priority: Minor
    > Fix For: 3.0
    >
    >
    > When using database-generated primary keys (auto-increment), Cayenne currently does not log the values on insert. This makes it potentially impossible when doing log forensics on a problem to uniquely identify the record that was inserted. Cayenne will need to issue a second logging line, after the INSERT line, to indicate the primary key returned by the database for that record.

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Wed Jan 23 2008 - 10:10:59 EST