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

Search Discussions

  • Anonymous at Jan 23, 2008 at 3:10 pm
    [ 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.
  • Anonymous at May 10, 2008 at 4:21 pm
    [ 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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriescayenne
postedJan 22, '08 at 3:36p
activeMay 10, '08 at 4:21p
posts3
users1
websitecayenne.apache.org

1 user in discussion

Anonymous: 3 posts

People

Translate

site design / logo © 2021 Grokbase