[jira] Commented: (CAY-1116) [patch] add generated PK support to SQLite

From: Scott Anderson (JIRA) ("Scott)
Date: Wed Oct 08 2008 - 11:44:13 EDT

  • Next message: Scott Anderson (JIRA): "[jira] Updated: (CAY-1116) [patch] add generated PK support to SQLite"

        [ https://issues.apache.org/cayenne/browse/CAY-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150#action_13150 ]

    Scott Anderson commented on CAY-1116:
    -------------------------------------

    No, I didn't mean it's invalid. I meant that the three patches all have flaws - the third patch needs to call setSupportsGeneratedKeys(true) instead of false in the constructor, but is otherwise functional.

    Tore: A JUnit test against the new method to verify the SQL is well-formed, or to charge a real SQLite DB with a DBGenerator? If the latter, I wouldn't have a clue where to start; could you provide an example?

    > [patch] add generated PK support to SQLite
    > ------------------------------------------
    >
    > Key: CAY-1116
    > URL: https://issues.apache.org/cayenne/browse/CAY-1116
    > Project: Cayenne
    > Issue Type: Improvement
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Scott Anderson
    > Assignee: Tore Halset
    > Attachments: AutoIncrement-SQLite.patch, AutoIncrement-SQLite2.patch, AutoIncrement-SQLite3.patch
    >
    >

    -- 
    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 Oct 08 2008 - 11:45:08 EDT