Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-682

Change datastore-identity strategy for shoppingcart pc classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JDO 3 (3.0)
    • JDO 3.1-rc1
    • tck
    • None

    Description

      The datastoreidentity "detach" test use the shoppingcart pc classes. They are mapped using the datastore identity strategy increment (see package-standard8.orm):
      <datastore-identity strategy="increment" column="DATASTORE_ID"/>
      The strategy should be changed to sequence to avoid creating schema dynamically. With the sequence strategy the name of the sequence can be specified in the metadata. This allows to create the sequence table as part of the schema creation phase. The tck is designed to craete the entire schema upfront, such that a JDO implementaion w/o dynamic schema creation/modification is able to pass the tck.

      The goal is to avoid using the increment strategy pending resolution of requirements for increment.

      Attachments

        1. JDO-682.patch
          2 kB
          Michael Bouschen

        Activity

          People

            mbo Michael Bouschen
            mbo Michael Bouschen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: