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

From: Michael Gentry (JIRA) ("Michael)
Date: Tue Jan 22 2008 - 10:36:33 EST

  • Next message: JIRA: "[JIRA] Updated: (CAY-966) ObjRelationsship's are not removed processing DropColumnToModel"

    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 : Tue Jan 22 2008 - 10:37:02 EST