You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Michael Gentry (JIRA)" <de...@cayenne.apache.org> on 2008/01/22 16:36:33 UTC

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

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.


[jira] Closed: (CAY-973) Log PK values for auto-generated columns

Posted by "Michael Gentry (JIRA)" <de...@cayenne.apache.org>.
     [ https://issues.apache.org/cayenne/browse/CAY-973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Gentry closed CAY-973.
------------------------------


Changing status from resolved to closed.

> 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.


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

Posted by "Michael Gentry (JIRA)" <de...@cayenne.apache.org>.
     [ 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.