Change datastore-identity strategy for shoppingcart pc classes
--------------------------------------------------------------

                 Key: JDO-682
                 URL: https://issues.apache.org/jira/browse/JDO-682
             Project: JDO
          Issue Type: Improvement
          Components: tck
    Affects Versions: JDO 3
            Reporter: Michael Bouschen
            Assignee: Michael Bouschen
             Fix For: JDO 3 maintenance release 1


The datastoreidentity "detach" test use the shoppingcart pc classes. They are 
mapped uisng the datastore identity strategy increment (see 
package-standard8.orm):
  <datastore-identity strategy="increment" column="DATASTORE_ID"/>
The strategy should be change 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.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to