Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-329 Long vs. Integer PK
  3. CAY-961

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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0
    • Core Library
    • None

    Description

      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

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: