You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org> on 2008/01/15 23:09:32 UTC

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

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.


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

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

Andrus Adamchik closed CAY-961.
-------------------------------

    Resolution: Fixed

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