[JIRA] Created: (CAY-961) Change PK generator API to take PK DbAttribute parameter; generate pk based on DbAttribute type

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Tue Jan 15 2008 - 17:09:32 EST

  • Next message: Andrus Adamchik: "Re: Logging changes?"

    Change PK generator API to take PK DbAttribute parameter; generate pk based on DbAttribute type
    -----------------------------------------------------------------------------------------------

                     Key: CAY-961
                     URL: https://issues.apache.org/cayenne/browse/CAY-961
                 Project: Cayenne
              Issue Type: Sub-task
              Components: Cayenne Core Library
        Affects Versions: 3.0
                Reporter: Andrus Adamchik
                Assignee: Andrus Adamchik
                 Fix For: 3.0

    To allow Long PK's and generally to provide some sanity in PK type handling, change PK generator API to take PK DbAttribute parameter, so that concrete pk generators could make type assessments and do the right thing;

    provide implementations that generate int/long or binary pk's depending on the attribute type

    -- 
    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 15 2008 - 17:09:57 EST