db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r591430 [1/3] - in /db/jdo/trunk/tck2/src: conf/ java/org/apache/jdo/tck/models/fieldtypes/ java/org/apache/jdo/tck/pc/fieldtypes/ jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldty...
Date Fri, 02 Nov 2007 19:30:52 GMT
Author: mcaisse
Date: Fri Nov  2 12:30:50 2007
New Revision: 591430

URL: http://svn.apache.org/viewvc?rev=591430&view=rev
Log:
JDO-546 Enum tests

Added:
    db/jdo/trunk/tck2/src/conf/models1.conf
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfSimpleEnum.java   (with props)
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum.java   (with props)
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/SimpleEnum.java   (with props)
    db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum.jdo   (with props)
    db/jdo/trunk/tck2/src/jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum.jdo   (with props)
    db/jdo/trunk/tck2/src/orm/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum-standard.orm   (with props)
    db/jdo/trunk/tck2/src/orm/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum-standard1.orm   (with props)
    db/jdo/trunk/tck2/src/orm/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum-standard.orm   (with props)
    db/jdo/trunk/tck2/src/orm/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum-standard1.orm   (with props)
Modified:
    db/jdo/trunk/tck2/src/conf/configurations.list
    db/jdo/trunk/tck2/src/conf/models.conf
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollections.java
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayListCollections.java
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestUtil.java
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/ArrayCollections.java
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/ArrayListCollections.java
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.java
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.java
    db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayCollections.jdo
    db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayListCollections.jdo
    db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.jdo
    db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.jdo
    db/jdo/trunk/tck2/src/jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayCollections.jdo
    db/jdo/trunk/tck2/src/jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayListCollections.jdo
    db/jdo/trunk/tck2/src/jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.jdo
    db/jdo/trunk/tck2/src/jdo/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.jdo
    db/jdo/trunk/tck2/src/orm/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayCollections-standard.orm
    db/jdo/trunk/tck2/src/orm/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayListCollections-standard.orm
    db/jdo/trunk/tck2/src/orm/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections-standard.orm
    db/jdo/trunk/tck2/src/orm/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections-standard.orm
    db/jdo/trunk/tck2/src/orm/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayCollections-standard.orm
    db/jdo/trunk/tck2/src/orm/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayListCollections-standard.orm
    db/jdo/trunk/tck2/src/orm/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections-standard.orm
    db/jdo/trunk/tck2/src/orm/datastoreidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections-standard.orm
    db/jdo/trunk/tck2/src/sql/derby/applicationidentity/schema.sql
    db/jdo/trunk/tck2/src/sql/derby/applicationidentity/schema1.sql
    db/jdo/trunk/tck2/src/sql/derby/datastoreidentity/schema.sql
    db/jdo/trunk/tck2/src/sql/derby/datastoreidentity/schema1.sql

Modified: db/jdo/trunk/tck2/src/conf/configurations.list
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/configurations.list?rev=591430&r1=591429&r2=591430&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/conf/configurations.list (original)
+++ db/jdo/trunk/tck2/src/conf/configurations.list Fri Nov  2 12:30:50 2007
@@ -25,6 +25,7 @@
                  fetchplan.conf \
                  lifecycle.conf \
                  models.conf \
+                 models1.conf \
                  query.conf \
                  jdoql.conf \
                  transactions.conf \

Modified: db/jdo/trunk/tck2/src/conf/models.conf
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/models.conf?rev=591430&r1=591429&r2=591430&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/conf/models.conf (original)
+++ db/jdo/trunk/tck2/src/conf/models.conf Fri Nov  2 12:30:50 2007
@@ -46,6 +46,7 @@
 org.apache.jdo.tck.models.fieldtypes.TestFieldsOfPrimitiveshort \
 org.apache.jdo.tck.models.fieldtypes.TestFieldsOfShort \
 org.apache.jdo.tck.models.fieldtypes.TestFieldsOfSimpleClass \
+org.apache.jdo.tck.models.fieldtypes.TestFieldsOfSimpleEnum \
 org.apache.jdo.tck.models.fieldtypes.TestFieldsOfSimpleInterface \
 org.apache.jdo.tck.models.fieldtypes.TestFieldsOfString \
 org.apache.jdo.tck.models.fieldtypes.TestHashMapStringKeyCollections \

Added: db/jdo/trunk/tck2/src/conf/models1.conf
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/models1.conf?rev=591430&view=auto
==============================================================================
--- db/jdo/trunk/tck2/src/conf/models1.conf (added)
+++ db/jdo/trunk/tck2/src/conf/models1.conf Fri Nov  2 12:30:50 2007
@@ -0,0 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+jdo.tck.description = All model tests with standard mapping, no testdata. 
+jdo.tck.mapping.companyfactory =
+jdo.tck.testdata = 
+jdo.tck.standarddata = 
+jdo.tck.mapping = 1
+jdo.tck.requiredOptions =
+jdo.tck.classes = \
+org.apache.jdo.tck.models.fieldtypes.TestFieldsOfSimpleEnum

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollections.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollections.java?rev=591430&r1=591429&r2=591430&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollections.java (original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayCollections.java Fri Nov  2 12:30:50 2007
@@ -166,6 +166,11 @@
             Object[] actual = (Object[])Array.newInstance(objClass, 5);
             expected = expectedValue.get(i);
             actual = pi.get(i);
+            if (actual == null) {
+                sbuf.append("\nFor element " + i 
+                        + ", retrieved instance is null.");
+                continue;
+            }
             if (expected.length != actual.length) {
                 sbuf.append("\nFor element " + i + ", expected size = " +
                         expected.length + ", actual size = " + actual.length

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayListCollections.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayListCollections.java?rev=591430&r1=591429&r2=591430&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayListCollections.java (original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestArrayListCollections.java Fri Nov  2 12:30:50 2007
@@ -152,6 +152,11 @@
         for (i = 0; i < n; ++i) {
             Collection expected = expectedValue.get(i);
             Collection actual = pi.get(i);
+            if (actual == null) {
+                sbuf.append("\nFor element " + i 
+                        + ", retrieved instance is null");
+                continue;
+            }
             if (actual.size() != expected.size()) {
                 sbuf.append("\nFor element " + i + ", expected size = " +
                         expected.size() + ", actual size = " + actual.size()

Added: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfSimpleEnum.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfSimpleEnum.java?rev=591430&view=auto
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfSimpleEnum.java (added)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfSimpleEnum.java Fri Nov  2 12:30:50 2007
@@ -0,0 +1,130 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.models.fieldtypes;
+
+import javax.jdo.PersistenceManager;
+import javax.jdo.Transaction;
+
+import org.apache.jdo.tck.JDO_Test;
+import org.apache.jdo.tck.pc.fieldtypes.FieldsOfSimpleEnum;
+import org.apache.jdo.tck.pc.fieldtypes.SimpleEnum;
+import org.apache.jdo.tck.util.BatchTestRunner;
+
+/**
+ *<B>Title:</B> Support of field type Enum.
+ *<BR>
+ *<B>Keywords:</B> model
+ *<BR>
+ *<B>Assertion ID:</B> A???
+ *<BR>
+ *<B>Assertion Description: </B>
+ *     TBD
+ */
+
+public class TestFieldsOfSimpleEnum extends JDO_Test {
+    
+    /** */
+    private static final String ASSERTION_FAILED =
+        "Assertion A6.4.3-13 (TestFieldsOfEnum) failed: ";
+    
+    /**
+     * The <code>main</code> is called when the class
+     * is directly executed from the command line.
+     * @param args The arguments passed to the program.
+     */
+    public static void main(String[] args) {
+        BatchTestRunner.run(TestFieldsOfSimpleEnum.class);
+    }
+    
+    /**
+     * @see JDO_Test#localSetUp()
+     */
+    protected void localSetUp() {
+        addTearDownClass(FieldsOfSimpleEnum.class);
+    }
+    
+    /** */
+    public void test() {
+        pm = getPM();
+        
+        runTest(pm);
+        
+        pm.close();
+        pm = null;
+    }
+    
+    /** */
+    void runTest(PersistenceManager pm) {
+        Transaction tx = pm.currentTransaction();
+        int i, n;
+        SimpleEnum firstValue = SimpleEnum.AL;
+        SimpleEnum secondValue = SimpleEnum.WY;
+        tx.begin();
+        FieldsOfSimpleEnum pi = new FieldsOfSimpleEnum();
+        pi.identifier = 1;
+        pm.makePersistent(pi);
+        Object oid = pm.getObjectId(pi);
+        n = pi.getLength();
+        // Provide initial set of values
+        for( i = 0; i < n; ++i){
+            pi.set( i, firstValue);
+        }
+        tx.commit();
+        // cache will be flushed
+        pi = null;
+        System.gc();
+        
+        tx.begin();
+        
+        pi = (FieldsOfSimpleEnum) pm.getObjectById(oid, true);
+        checkValues(oid, firstValue);
+        
+        // Provide new set of values
+        for( i = 0; i < n; ++i){
+            pi.set(i, secondValue);
+        }
+        tx.commit();
+        // cache will be flushed
+        pi = null;
+        System.gc();
+        
+        tx.begin();
+        // check new values
+        checkValues(oid, secondValue);
+        tx.commit();
+        
+        failOnError();
+    }
+    
+    /** */
+    private void checkValues(Object oid, SimpleEnum startValue){
+        int i;
+        FieldsOfSimpleEnum pi = (FieldsOfSimpleEnum)pm.getObjectById(oid, true);
+        int n = pi.getLength();
+        for( i = 0; i < n; ++i){
+            if( !FieldsOfSimpleEnum.isPersistent[i] ) continue;
+            SimpleEnum val = pi.get(i);
+            if(!startValue.equals(val) ){
+                appendMessage(ASSERTION_FAILED +
+                    "Incorrect value for " + FieldsOfSimpleEnum.fieldSpecs[i] +
+                    ", expected value " + startValue.toString() +
+                    ", value is " + val);
+            }
+        }
+    }
+}

Propchange: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestFieldsOfSimpleEnum.java
------------------------------------------------------------------------------
    svn:eol-style = LF

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestUtil.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestUtil.java?rev=591430&r1=591429&r2=591430&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestUtil.java (original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/models/fieldtypes/TestUtil.java Fri Nov  2 12:30:50 2007
@@ -24,6 +24,7 @@
 
 import org.apache.jdo.tck.pc.fieldtypes.AllTypes;
 import org.apache.jdo.tck.pc.fieldtypes.SimpleClass;
+import org.apache.jdo.tck.pc.fieldtypes.SimpleEnum;
 
 public class TestUtil {
 
@@ -94,7 +95,7 @@
             {"Object", "SimpleClass", "SimpleInterface",
             "String", "Date", "Locale", "BigDecimal",
             "BigInteger", "Byte", "Double", "Float",
-            "Integer", "Long", "Short"};
+            "Integer", "Long", "Short", "SimpleEnum"};
 
   private static int getIndexOf(String type) {
       for (int i=0; i < elementTypes.length; i++) {
@@ -207,6 +208,13 @@
                       vec.add(3, new Short((short)(Short.MAX_VALUE - 343)));
                       vec.add(4, new Short((short)(Short.MAX_VALUE - 5656)));
                       break;
+                  case(14):
+                      vec.add(0, (SimpleEnum)SimpleEnum.AK);
+                      vec.add(1, (SimpleEnum)SimpleEnum.FM);
+                      vec.add(2, (SimpleEnum)SimpleEnum.KS);
+                      vec.add(3, (SimpleEnum)SimpleEnum.NJ);
+                      vec.add(4, (SimpleEnum)SimpleEnum.WI);
+                      break;
                  default:
                       throw new IndexOutOfBoundsException();
               }
@@ -313,6 +321,13 @@
                     vec.add(3, new Short((short)(Short.MAX_VALUE - 23344)));
                     vec.add(4, new Short((short)(Short.MAX_VALUE - 723)));
                     break;
+                  case(14):
+                      vec.add(0, (SimpleEnum)SimpleEnum.AZ);
+                      vec.add(1, (SimpleEnum)SimpleEnum.SD);
+                      vec.add(2, (SimpleEnum)SimpleEnum.NV);
+                      vec.add(3, (SimpleEnum)SimpleEnum.WV);
+                      vec.add(4, (SimpleEnum)SimpleEnum.PA);
+                      break;
                  default:
                     throw new IndexOutOfBoundsException();
               }

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/ArrayCollections.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/ArrayCollections.java?rev=591430&r1=591429&r2=591430&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/ArrayCollections.java (original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/ArrayCollections.java Fri Nov  2 12:30:50 2007
@@ -51,6 +51,9 @@
   public Long [] ArrayOfLong25;
   public Short [] ArrayOfShort26;
   public Short [] ArrayOfShort27;
+  public SimpleEnum [] ArrayOfSimpleEnum28;
+  public SimpleEnum [] ArrayOfSimpleEnum29;
+  public SimpleEnum [] ArrayOfSimpleEnum30;
 
   public static final String [] fieldSpecs = { 
   "serialized=true public Object [] ArrayOfObject0",
@@ -80,7 +83,10 @@
   "embedded-element=false public Long [] ArrayOfLong24",
   "embedded-element=true public Long [] ArrayOfLong25",
   "embedded-element=false public Short [] ArrayOfShort26",
-  "embedded-element=true public Short [] ArrayOfShort27"
+  "embedded-element=true public Short [] ArrayOfShort27",
+  "embedded-element=false public SimpleEnum [] ArrayOfSimpleEnum28",
+  "embedded-element=true public SimpleEnum [] ArrayOfSimpleEnum29",
+  "embedded-element=true public SimpleEnum [] ArrayOfSimpleEnum30"
   };
   public int getLength()
   {
@@ -146,11 +152,17 @@
         return ArrayOfShort26;
       case(27):
         return ArrayOfShort27;
+      case(28):
+        return ArrayOfSimpleEnum28;
+      case(29):
+        return ArrayOfSimpleEnum29;
+      case(30):
+        return ArrayOfSimpleEnum30;
       default:
         throw new IndexOutOfBoundsException();
     }
   }
-  public boolean set(int index,Object []  value)
+  public boolean set(int index, Object [] value)
   {
     if(fieldSpecs[index].indexOf("final") != -1)
       return false;
@@ -239,6 +251,15 @@
          break;
       case(27):
         ArrayOfShort27= (Short []) value ;
+         break;
+      case(28):
+        ArrayOfSimpleEnum28= (SimpleEnum []) value ;
+         break;
+      case(29):
+        ArrayOfSimpleEnum29= (SimpleEnum []) value ;
+         break;
+      case(30):
+        ArrayOfSimpleEnum30= (SimpleEnum []) value ;
          break;
       default:
         throw new IndexOutOfBoundsException();

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/ArrayListCollections.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/ArrayListCollections.java?rev=591430&r1=591429&r2=591430&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/ArrayListCollections.java (original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/ArrayListCollections.java Fri Nov  2 12:30:50 2007
@@ -64,6 +64,11 @@
   public ArrayList ArrayListOfShort39;
   public ArrayList ArrayListOfShort40;
   public ArrayList ArrayListOfShort41;
+  public ArrayList ArrayListOfSimpleEnum42;
+  public ArrayList ArrayListOfSimpleEnum43;
+  public ArrayList ArrayListOfSimpleEnum44;
+  public ArrayList ArrayListOfSimpleEnum45;
+  public ArrayList ArrayListOfSimpleEnum46;
 
   public static final String [] fieldSpecs = { 
   "public ArrayList ArrayListOfObject0",
@@ -107,7 +112,12 @@
   "embedded-element=false public ArrayList ArrayListOfLong38",
   "public ArrayList ArrayListOfShort39",
   "embedded-element=true public ArrayList ArrayListOfShort40",
-  "embedded-element=false public ArrayList ArrayListOfShort41"
+  "embedded-element=false public ArrayList ArrayListOfShort41",
+  "public ArrayList ArrayListOfSimpleEnum42",
+  "embedded-element=true public ArrayList ArrayListOfSimpleEnum43",
+  "embedded-element=false public ArrayList ArrayListOfSimpleEnum44",
+  "public ArrayList ArrayListOfSimpleEnum45",
+  "embedded-element=false public ArrayList ArrayListOfSimpleEnum46"
   };
   public int getLength()
   {
@@ -201,11 +211,21 @@
         return ArrayListOfShort40;
       case(41):
         return ArrayListOfShort41;
+      case(42):
+        return ArrayListOfSimpleEnum42;
+      case(43):
+        return ArrayListOfSimpleEnum43;
+      case(44):
+        return ArrayListOfSimpleEnum44;
+      case(45):
+        return ArrayListOfSimpleEnum45;
+      case(46):
+        return ArrayListOfSimpleEnum46;
       default:
         throw new IndexOutOfBoundsException();
     }
   }
-  public boolean set(int index,ArrayList value)
+  public boolean set(int index, ArrayList value)
   {
     if(fieldSpecs[index].indexOf("final") != -1)
       return false;
@@ -336,6 +356,16 @@
          break;
       case(41):
         ArrayListOfShort41= value;
+      case(42):
+        ArrayListOfSimpleEnum42= value;
+      case(43):
+        ArrayListOfSimpleEnum43= value;
+      case(44):
+        ArrayListOfSimpleEnum44= value;
+      case(45):
+        ArrayListOfSimpleEnum45= value;
+      case(46):
+        ArrayListOfSimpleEnum46= value;
          break;
       default:
         throw new IndexOutOfBoundsException();

Added: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum.java?rev=591430&view=auto
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum.java (added)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum.java Fri Nov  2 12:30:50 2007
@@ -0,0 +1,1089 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software 
+ * distributed under the License is distributed on an "AS IS" BASIS, 
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ * See the License for the specific language governing permissions and 
+ * limitations under the License.
+ */
+ 
+package org.apache.jdo.tck.pc.fieldtypes;
+
+import java.io.Serializable;
+
+public class FieldsOfSimpleEnum { 
+  public int identifier;
+  private SimpleEnum SimpleEnum0;
+  private SimpleEnum SimpleEnum1;
+  private SimpleEnum SimpleEnum2;
+  private SimpleEnum SimpleEnum3;
+  private SimpleEnum SimpleEnum4;
+  private SimpleEnum SimpleEnum5;
+  private SimpleEnum SimpleEnum6;
+  private SimpleEnum SimpleEnum7;
+  private static SimpleEnum SimpleEnum8;
+  private transient SimpleEnum SimpleEnum9;
+  private transient SimpleEnum SimpleEnum10;
+  private transient SimpleEnum SimpleEnum11;
+  private transient SimpleEnum SimpleEnum12;
+  private transient SimpleEnum SimpleEnum13;
+  private transient SimpleEnum SimpleEnum14;
+  private final SimpleEnum SimpleEnum15 = SimpleEnum.AL;
+  private volatile SimpleEnum SimpleEnum16;
+  private volatile SimpleEnum SimpleEnum17;
+  private volatile SimpleEnum SimpleEnum18;
+  private volatile SimpleEnum SimpleEnum19;
+  private volatile SimpleEnum SimpleEnum20;
+  private volatile SimpleEnum SimpleEnum21;
+  private volatile SimpleEnum SimpleEnum22;
+  private volatile SimpleEnum SimpleEnum23;
+  private static transient SimpleEnum SimpleEnum24;
+  private static final SimpleEnum SimpleEnum25 = SimpleEnum.AL;
+  private static volatile SimpleEnum SimpleEnum26;
+  private transient final SimpleEnum SimpleEnum27 = SimpleEnum.AL;
+  private transient volatile SimpleEnum SimpleEnum28;
+  private transient volatile SimpleEnum SimpleEnum29;
+  private transient volatile SimpleEnum SimpleEnum30;
+  private transient volatile SimpleEnum SimpleEnum31;
+  private transient volatile SimpleEnum SimpleEnum32;
+  private transient volatile SimpleEnum SimpleEnum33;
+  private static transient final SimpleEnum SimpleEnum34 = SimpleEnum.AL;
+  private static transient volatile SimpleEnum SimpleEnum35;
+  public SimpleEnum SimpleEnum36;
+  public SimpleEnum SimpleEnum37;
+  public SimpleEnum SimpleEnum38;
+  public SimpleEnum SimpleEnum39;
+  public SimpleEnum SimpleEnum40;
+  public SimpleEnum SimpleEnum41;
+  public SimpleEnum SimpleEnum42;
+  public SimpleEnum SimpleEnum43;
+  public static SimpleEnum SimpleEnum44;
+  public transient SimpleEnum SimpleEnum45;
+  public transient SimpleEnum SimpleEnum46;
+  public transient SimpleEnum SimpleEnum47;
+  public transient SimpleEnum SimpleEnum48;
+  public transient SimpleEnum SimpleEnum49;
+  public transient SimpleEnum SimpleEnum50;
+  public final SimpleEnum SimpleEnum51 = SimpleEnum.AL;
+  public volatile SimpleEnum SimpleEnum52;
+  public volatile SimpleEnum SimpleEnum53;
+  public volatile SimpleEnum SimpleEnum54;
+  public volatile SimpleEnum SimpleEnum55;
+  public volatile SimpleEnum SimpleEnum56;
+  public volatile SimpleEnum SimpleEnum57;
+  public volatile SimpleEnum SimpleEnum58;
+  public volatile SimpleEnum SimpleEnum59;
+  public static transient SimpleEnum SimpleEnum60;
+  public static final SimpleEnum SimpleEnum61 = SimpleEnum.AL;
+  public static volatile SimpleEnum SimpleEnum62;
+  public transient final SimpleEnum SimpleEnum63 = SimpleEnum.AL;
+  public transient volatile SimpleEnum SimpleEnum64;
+  public transient volatile SimpleEnum SimpleEnum65;
+  public transient volatile SimpleEnum SimpleEnum66;
+  public transient volatile SimpleEnum SimpleEnum67;
+  public transient volatile SimpleEnum SimpleEnum68;
+  public transient volatile SimpleEnum SimpleEnum69;
+  public static transient final SimpleEnum SimpleEnum70 = SimpleEnum.AL;
+  public static transient volatile SimpleEnum SimpleEnum71;
+  protected SimpleEnum SimpleEnum72;
+  protected SimpleEnum SimpleEnum73;
+  protected SimpleEnum SimpleEnum74;
+  protected SimpleEnum SimpleEnum75;
+  protected SimpleEnum SimpleEnum76;
+  protected SimpleEnum SimpleEnum77;
+  protected SimpleEnum SimpleEnum78;
+  protected SimpleEnum SimpleEnum79;
+  protected static SimpleEnum SimpleEnum80;
+  protected transient SimpleEnum SimpleEnum81;
+  protected transient SimpleEnum SimpleEnum82;
+  protected transient SimpleEnum SimpleEnum83;
+  protected transient SimpleEnum SimpleEnum84;
+  protected transient SimpleEnum SimpleEnum85;
+  protected transient SimpleEnum SimpleEnum86;
+  protected final SimpleEnum SimpleEnum87 = SimpleEnum.AL;
+  protected volatile SimpleEnum SimpleEnum88;
+  protected volatile SimpleEnum SimpleEnum89;
+  protected volatile SimpleEnum SimpleEnum90;
+  protected volatile SimpleEnum SimpleEnum91;
+  protected volatile SimpleEnum SimpleEnum92;
+  protected volatile SimpleEnum SimpleEnum93;
+  protected volatile SimpleEnum SimpleEnum94;
+  protected volatile SimpleEnum SimpleEnum95;
+  protected static transient SimpleEnum SimpleEnum96;
+  protected static final SimpleEnum SimpleEnum97 = SimpleEnum.AL;
+  protected static volatile SimpleEnum SimpleEnum98;
+  protected transient final SimpleEnum SimpleEnum99 = SimpleEnum.AL;
+  protected transient volatile SimpleEnum SimpleEnum100;
+  protected transient volatile SimpleEnum SimpleEnum101;
+  protected transient volatile SimpleEnum SimpleEnum102;
+  protected transient volatile SimpleEnum SimpleEnum103;
+  protected transient volatile SimpleEnum SimpleEnum104;
+  protected transient volatile SimpleEnum SimpleEnum105;
+  protected static transient final SimpleEnum SimpleEnum106 = SimpleEnum.AL;
+  protected static transient volatile SimpleEnum SimpleEnum107;
+  SimpleEnum SimpleEnum108;
+  SimpleEnum SimpleEnum109;
+  SimpleEnum SimpleEnum110;
+  SimpleEnum SimpleEnum111;
+  SimpleEnum SimpleEnum112;
+  SimpleEnum SimpleEnum113;
+  SimpleEnum SimpleEnum114;
+  SimpleEnum SimpleEnum115;
+  static SimpleEnum SimpleEnum116;
+  transient SimpleEnum SimpleEnum117;
+  transient SimpleEnum SimpleEnum118;
+  transient SimpleEnum SimpleEnum119;
+  transient SimpleEnum SimpleEnum120;
+  transient SimpleEnum SimpleEnum121;
+  transient SimpleEnum SimpleEnum122;
+  final SimpleEnum SimpleEnum123 = SimpleEnum.AL;
+  volatile SimpleEnum SimpleEnum124;
+  volatile SimpleEnum SimpleEnum125;
+  volatile SimpleEnum SimpleEnum126;
+  volatile SimpleEnum SimpleEnum127;
+  volatile SimpleEnum SimpleEnum128;
+  volatile SimpleEnum SimpleEnum129;
+  volatile SimpleEnum SimpleEnum130;
+  volatile SimpleEnum SimpleEnum131;
+  static transient SimpleEnum SimpleEnum132;
+  static final SimpleEnum SimpleEnum133 = SimpleEnum.AL;
+  static volatile SimpleEnum SimpleEnum134;
+  transient final SimpleEnum SimpleEnum135 = SimpleEnum.AL;
+  transient volatile SimpleEnum SimpleEnum136;
+  transient volatile SimpleEnum SimpleEnum137;
+  transient volatile SimpleEnum SimpleEnum138;
+  transient volatile SimpleEnum SimpleEnum139;
+  transient volatile SimpleEnum SimpleEnum140;
+  transient volatile SimpleEnum SimpleEnum141;
+  static transient final SimpleEnum SimpleEnum142 = SimpleEnum.AL;
+  static transient volatile SimpleEnum SimpleEnum143;
+
+public static final boolean [] isPersistent = { 
+true,true,true,false,true,true,true,false,false,false,
+false,true,true,true,false,false,true,true,true,false,
+true,true,true,false,false,false,false,false,false,false,
+true,true,true,false,false,false,true,true,true,false,
+true,true,true,false,false,false,false,true,true,true,
+false,false,true,true,true,false,true,true,true,false,
+false,false,false,false,false,false,true,true,true,false,
+false,false,true,true,true,false,true,true,true,false,
+false,false,false,true,true,true,false,false,true,true,
+true,false,true,true,true,false,false,false,false,false,
+false,false,true,true,true,false,false,false,true,true,
+true,false,true,true,true,false,false,false,false,true,
+true,true,false,false,true,true,true,false,true,true,
+true,false,false,false,false,false,false,false,true,true,
+true,false,false,false
+ };
+
+public static final boolean [] isStatic = { 
+false,false,false,false,false,false,false,false,true,false,
+false,false,false,false,false,false,false,false,false,false,
+false,false,false,false,true,true,true,false,false,false,
+false,false,false,false,true,true,false,false,false,false,
+false,false,false,false,true,false,false,false,false,false,
+false,false,false,false,false,false,false,false,false,false,
+true,true,true,false,false,false,false,false,false,false,
+true,true,false,false,false,false,false,false,false,false,
+true,false,false,false,false,false,false,false,false,false,
+false,false,false,false,false,false,true,true,true,false,
+false,false,false,false,false,false,true,true,false,false,
+false,false,false,false,false,false,true,false,false,false,
+false,false,false,false,false,false,false,false,false,false,
+false,false,true,true,true,false,false,false,false,false,
+false,false,true,true
+ };
+
+public static final boolean [] isFinal = { 
+false,false,false,false,false,false,false,false,false,false,
+false,false,false,false,false,true,false,false,false,false,
+false,false,false,false,false,true,false,true,false,false,
+false,false,false,false,true,false,false,false,false,false,
+false,false,false,false,false,false,false,false,false,false,
+false,true,false,false,false,false,false,false,false,false,
+false,true,false,true,false,false,false,false,false,false,
+true,false,false,false,false,false,false,false,false,false,
+false,false,false,false,false,false,false,true,false,false,
+false,false,false,false,false,false,false,true,false,true,
+false,false,false,false,false,false,true,false,false,false,
+false,false,false,false,false,false,false,false,false,false,
+false,false,false,true,false,false,false,false,false,false,
+false,false,false,true,false,true,false,false,false,false,
+false,false,true,false
+ };
+
+  public static final String [] fieldSpecs = { 
+  "private SimpleEnum SimpleEnum0",
+  "embedded= true   private SimpleEnum SimpleEnum1",
+  "embedded= false   private SimpleEnum SimpleEnum2",
+  "persistence-modifier= none    private SimpleEnum SimpleEnum3",
+  "persistence-modifier= persistent    private SimpleEnum SimpleEnum4",
+  "persistence-modifier= persistent  embedded= true   private SimpleEnum SimpleEnum5",
+  "persistence-modifier= persistent  embedded= false   private SimpleEnum SimpleEnum6",
+  "persistence-modifier= transactional    private SimpleEnum SimpleEnum7",
+  "private static SimpleEnum SimpleEnum8",
+  "private transient SimpleEnum SimpleEnum9",
+  "persistence-modifier= none    private transient SimpleEnum SimpleEnum10",
+  "persistence-modifier= persistent    private transient SimpleEnum SimpleEnum11",
+  "persistence-modifier= persistent  embedded= true   private transient SimpleEnum SimpleEnum12",
+  "persistence-modifier= persistent  embedded= false   private transient SimpleEnum SimpleEnum13",
+  "persistence-modifier= transactional    private transient SimpleEnum SimpleEnum14",
+  "private final SimpleEnum SimpleEnum15",
+  "private volatile SimpleEnum SimpleEnum16",
+  "embedded= true   private volatile SimpleEnum SimpleEnum17",
+  "embedded= false   private volatile SimpleEnum SimpleEnum18",
+  "persistence-modifier= none    private volatile SimpleEnum SimpleEnum19",
+  "persistence-modifier= persistent    private volatile SimpleEnum SimpleEnum20",
+  "persistence-modifier= persistent  embedded= true   private volatile SimpleEnum SimpleEnum21",
+  "persistence-modifier= persistent  embedded= false   private volatile SimpleEnum SimpleEnum22",
+  "persistence-modifier= transactional    private volatile SimpleEnum SimpleEnum23",
+  "private static transient SimpleEnum SimpleEnum24",
+  "private static final SimpleEnum SimpleEnum25",
+  "private static volatile SimpleEnum SimpleEnum26",
+  "private transient final SimpleEnum SimpleEnum27",
+  "private transient volatile SimpleEnum SimpleEnum28",
+  "persistence-modifier= none    private transient volatile SimpleEnum SimpleEnum29",
+  "persistence-modifier= persistent    private transient volatile SimpleEnum SimpleEnum30",
+  "persistence-modifier= persistent  embedded= true   private transient volatile SimpleEnum SimpleEnum31",
+  "persistence-modifier= persistent  embedded= false   private transient volatile SimpleEnum SimpleEnum32",
+  "persistence-modifier= transactional    private transient volatile SimpleEnum SimpleEnum33",
+  "private static transient final SimpleEnum SimpleEnum34",
+  "private static transient volatile SimpleEnum SimpleEnum35",
+  "public SimpleEnum SimpleEnum36",
+  "embedded= true   public SimpleEnum SimpleEnum37",
+  "embedded= false   public SimpleEnum SimpleEnum38",
+  "persistence-modifier= none    public SimpleEnum SimpleEnum39",
+  "persistence-modifier= persistent    public SimpleEnum SimpleEnum40",
+  "persistence-modifier= persistent  embedded= true   public SimpleEnum SimpleEnum41",
+  "persistence-modifier= persistent  embedded= false   public SimpleEnum SimpleEnum42",
+  "persistence-modifier= transactional    public SimpleEnum SimpleEnum43",
+  "public static SimpleEnum SimpleEnum44",
+  "public transient SimpleEnum SimpleEnum45",
+  "persistence-modifier= none    public transient SimpleEnum SimpleEnum46",
+  "persistence-modifier= persistent    public transient SimpleEnum SimpleEnum47",
+  "persistence-modifier= persistent  embedded= true   public transient SimpleEnum SimpleEnum48",
+  "persistence-modifier= persistent  embedded= false   public transient SimpleEnum SimpleEnum49",
+  "persistence-modifier= transactional    public transient SimpleEnum SimpleEnum50",
+  "public final SimpleEnum SimpleEnum51",
+  "public volatile SimpleEnum SimpleEnum52",
+  "embedded= true   public volatile SimpleEnum SimpleEnum53",
+  "embedded= false   public volatile SimpleEnum SimpleEnum54",
+  "persistence-modifier= none    public volatile SimpleEnum SimpleEnum55",
+  "persistence-modifier= persistent    public volatile SimpleEnum SimpleEnum56",
+  "persistence-modifier= persistent  embedded= true   public volatile SimpleEnum SimpleEnum57",
+  "persistence-modifier= persistent  embedded= false   public volatile SimpleEnum SimpleEnum58",
+  "persistence-modifier= transactional    public volatile SimpleEnum SimpleEnum59",
+  "public static transient SimpleEnum SimpleEnum60",
+  "public static final SimpleEnum SimpleEnum61",
+  "public static volatile SimpleEnum SimpleEnum62",
+  "public transient final SimpleEnum SimpleEnum63",
+  "public transient volatile SimpleEnum SimpleEnum64",
+  "persistence-modifier= none    public transient volatile SimpleEnum SimpleEnum65",
+  "persistence-modifier= persistent    public transient volatile SimpleEnum SimpleEnum66",
+  "persistence-modifier= persistent  embedded= true   public transient volatile SimpleEnum SimpleEnum67",
+  "persistence-modifier= persistent  embedded= false   public transient volatile SimpleEnum SimpleEnum68",
+  "persistence-modifier= transactional    public transient volatile SimpleEnum SimpleEnum69",
+  "public static transient final SimpleEnum SimpleEnum70",
+  "public static transient volatile SimpleEnum SimpleEnum71",
+  "protected SimpleEnum SimpleEnum72",
+  "embedded= true   protected SimpleEnum SimpleEnum73",
+  "embedded= false   protected SimpleEnum SimpleEnum74",
+  "persistence-modifier= none    protected SimpleEnum SimpleEnum75",
+  "persistence-modifier= persistent    protected SimpleEnum SimpleEnum76",
+  "persistence-modifier= persistent  embedded= true   protected SimpleEnum SimpleEnum77",
+  "persistence-modifier= persistent  embedded= false   protected SimpleEnum SimpleEnum78",
+  "persistence-modifier= transactional    protected SimpleEnum SimpleEnum79",
+  "protected static SimpleEnum SimpleEnum80",
+  "protected transient SimpleEnum SimpleEnum81",
+  "persistence-modifier= none    protected transient SimpleEnum SimpleEnum82",
+  "persistence-modifier= persistent    protected transient SimpleEnum SimpleEnum83",
+  "persistence-modifier= persistent  embedded= true   protected transient SimpleEnum SimpleEnum84",
+  "persistence-modifier= persistent  embedded= false   protected transient SimpleEnum SimpleEnum85",
+  "persistence-modifier= transactional    protected transient SimpleEnum SimpleEnum86",
+  "protected final SimpleEnum SimpleEnum87",
+  "protected volatile SimpleEnum SimpleEnum88",
+  "embedded= true   protected volatile SimpleEnum SimpleEnum89",
+  "embedded= false   protected volatile SimpleEnum SimpleEnum90",
+  "persistence-modifier= none    protected volatile SimpleEnum SimpleEnum91",
+  "persistence-modifier= persistent    protected volatile SimpleEnum SimpleEnum92",
+  "persistence-modifier= persistent  embedded= true   protected volatile SimpleEnum SimpleEnum93",
+  "persistence-modifier= persistent  embedded= false   protected volatile SimpleEnum SimpleEnum94",
+  "persistence-modifier= transactional    protected volatile SimpleEnum SimpleEnum95",
+  "protected static transient SimpleEnum SimpleEnum96",
+  "protected static final SimpleEnum SimpleEnum97",
+  "protected static volatile SimpleEnum SimpleEnum98",
+  "protected transient final SimpleEnum SimpleEnum99",
+  "protected transient volatile SimpleEnum SimpleEnum100",
+  "persistence-modifier= none    protected transient volatile SimpleEnum SimpleEnum101",
+  "persistence-modifier= persistent    protected transient volatile SimpleEnum SimpleEnum102",
+  "persistence-modifier= persistent  embedded= true   protected transient volatile SimpleEnum SimpleEnum103",
+  "persistence-modifier= persistent  embedded= false   protected transient volatile SimpleEnum SimpleEnum104",
+  "persistence-modifier= transactional    protected transient volatile SimpleEnum SimpleEnum105",
+  "protected static transient final SimpleEnum SimpleEnum106",
+  "protected static transient volatile SimpleEnum SimpleEnum107",
+  "SimpleEnum SimpleEnum108",
+  "embedded= true   SimpleEnum SimpleEnum109",
+  "embedded= false   SimpleEnum SimpleEnum110",
+  "persistence-modifier= none    SimpleEnum SimpleEnum111",
+  "persistence-modifier= persistent    SimpleEnum SimpleEnum112",
+  "persistence-modifier= persistent  embedded= true   SimpleEnum SimpleEnum113",
+  "persistence-modifier= persistent  embedded= false   SimpleEnum SimpleEnum114",
+  "persistence-modifier= transactional    SimpleEnum SimpleEnum115",
+  "static SimpleEnum SimpleEnum116",
+  "transient SimpleEnum SimpleEnum117",
+  "persistence-modifier= none    transient SimpleEnum SimpleEnum118",
+  "persistence-modifier= persistent    transient SimpleEnum SimpleEnum119",
+  "persistence-modifier= persistent  embedded= true   transient SimpleEnum SimpleEnum120",
+  "persistence-modifier= persistent  embedded= false   transient SimpleEnum SimpleEnum121",
+  "persistence-modifier= transactional    transient SimpleEnum SimpleEnum122",
+  "final SimpleEnum SimpleEnum123",
+  "volatile SimpleEnum SimpleEnum124",
+  "embedded= true   volatile SimpleEnum SimpleEnum125",
+  "embedded= false   volatile SimpleEnum SimpleEnum126",
+  "persistence-modifier= none    volatile SimpleEnum SimpleEnum127",
+  "persistence-modifier= persistent    volatile SimpleEnum SimpleEnum128",
+  "persistence-modifier= persistent  embedded= true   volatile SimpleEnum SimpleEnum129",
+  "persistence-modifier= persistent  embedded= false   volatile SimpleEnum SimpleEnum130",
+  "persistence-modifier= transactional    volatile SimpleEnum SimpleEnum131",
+  "static transient SimpleEnum SimpleEnum132",
+  "static final SimpleEnum SimpleEnum133",
+  "static volatile SimpleEnum SimpleEnum134",
+  "transient final SimpleEnum SimpleEnum135",
+  "transient volatile SimpleEnum SimpleEnum136",
+  "persistence-modifier= none    transient volatile SimpleEnum SimpleEnum137",
+  "persistence-modifier= persistent    transient volatile SimpleEnum SimpleEnum138",
+  "persistence-modifier= persistent  embedded= true   transient volatile SimpleEnum SimpleEnum139",
+  "persistence-modifier= persistent  embedded= false   transient volatile SimpleEnum SimpleEnum140",
+  "persistence-modifier= transactional    transient volatile SimpleEnum SimpleEnum141",
+  "static transient final SimpleEnum SimpleEnum142",
+  "static transient volatile SimpleEnum SimpleEnum143"
+  };
+  public int getLength()
+  {
+    return fieldSpecs.length;
+  }
+  public SimpleEnum get(int index)
+  {
+    switch (index)
+    {
+      case(0):
+        return SimpleEnum0;
+      case(1):
+        return SimpleEnum1;
+      case(2):
+        return SimpleEnum2;
+      case(3):
+        return SimpleEnum3;
+      case(4):
+        return SimpleEnum4;
+      case(5):
+        return SimpleEnum5;
+      case(6):
+        return SimpleEnum6;
+      case(7):
+        return SimpleEnum7;
+      case(8):
+        return SimpleEnum8;
+      case(9):
+        return SimpleEnum9;
+      case(10):
+        return SimpleEnum10;
+      case(11):
+        return SimpleEnum11;
+      case(12):
+        return SimpleEnum12;
+      case(13):
+        return SimpleEnum13;
+      case(14):
+        return SimpleEnum14;
+      case(15):
+        return SimpleEnum15;
+      case(16):
+        return SimpleEnum16;
+      case(17):
+        return SimpleEnum17;
+      case(18):
+        return SimpleEnum18;
+      case(19):
+        return SimpleEnum19;
+      case(20):
+        return SimpleEnum20;
+      case(21):
+        return SimpleEnum21;
+      case(22):
+        return SimpleEnum22;
+      case(23):
+        return SimpleEnum23;
+      case(24):
+        return SimpleEnum24;
+      case(25):
+        return SimpleEnum25;
+      case(26):
+        return SimpleEnum26;
+      case(27):
+        return SimpleEnum27;
+      case(28):
+        return SimpleEnum28;
+      case(29):
+        return SimpleEnum29;
+      case(30):
+        return SimpleEnum30;
+      case(31):
+        return SimpleEnum31;
+      case(32):
+        return SimpleEnum32;
+      case(33):
+        return SimpleEnum33;
+      case(34):
+        return SimpleEnum34;
+      case(35):
+        return SimpleEnum35;
+      case(36):
+        return SimpleEnum36;
+      case(37):
+        return SimpleEnum37;
+      case(38):
+        return SimpleEnum38;
+      case(39):
+        return SimpleEnum39;
+      case(40):
+        return SimpleEnum40;
+      case(41):
+        return SimpleEnum41;
+      case(42):
+        return SimpleEnum42;
+      case(43):
+        return SimpleEnum43;
+      case(44):
+        return SimpleEnum44;
+      case(45):
+        return SimpleEnum45;
+      case(46):
+        return SimpleEnum46;
+      case(47):
+        return SimpleEnum47;
+      case(48):
+        return SimpleEnum48;
+      case(49):
+        return SimpleEnum49;
+      case(50):
+        return SimpleEnum50;
+      case(51):
+        return SimpleEnum51;
+      case(52):
+        return SimpleEnum52;
+      case(53):
+        return SimpleEnum53;
+      case(54):
+        return SimpleEnum54;
+      case(55):
+        return SimpleEnum55;
+      case(56):
+        return SimpleEnum56;
+      case(57):
+        return SimpleEnum57;
+      case(58):
+        return SimpleEnum58;
+      case(59):
+        return SimpleEnum59;
+      case(60):
+        return SimpleEnum60;
+      case(61):
+        return SimpleEnum61;
+      case(62):
+        return SimpleEnum62;
+      case(63):
+        return SimpleEnum63;
+      case(64):
+        return SimpleEnum64;
+      case(65):
+        return SimpleEnum65;
+      case(66):
+        return SimpleEnum66;
+      case(67):
+        return SimpleEnum67;
+      case(68):
+        return SimpleEnum68;
+      case(69):
+        return SimpleEnum69;
+      case(70):
+        return SimpleEnum70;
+      case(71):
+        return SimpleEnum71;
+      case(72):
+        return SimpleEnum72;
+      case(73):
+        return SimpleEnum73;
+      case(74):
+        return SimpleEnum74;
+      case(75):
+        return SimpleEnum75;
+      case(76):
+        return SimpleEnum76;
+      case(77):
+        return SimpleEnum77;
+      case(78):
+        return SimpleEnum78;
+      case(79):
+        return SimpleEnum79;
+      case(80):
+        return SimpleEnum80;
+      case(81):
+        return SimpleEnum81;
+      case(82):
+        return SimpleEnum82;
+      case(83):
+        return SimpleEnum83;
+      case(84):
+        return SimpleEnum84;
+      case(85):
+        return SimpleEnum85;
+      case(86):
+        return SimpleEnum86;
+      case(87):
+        return SimpleEnum87;
+      case(88):
+        return SimpleEnum88;
+      case(89):
+        return SimpleEnum89;
+      case(90):
+        return SimpleEnum90;
+      case(91):
+        return SimpleEnum91;
+      case(92):
+        return SimpleEnum92;
+      case(93):
+        return SimpleEnum93;
+      case(94):
+        return SimpleEnum94;
+      case(95):
+        return SimpleEnum95;
+      case(96):
+        return SimpleEnum96;
+      case(97):
+        return SimpleEnum97;
+      case(98):
+        return SimpleEnum98;
+      case(99):
+        return SimpleEnum99;
+      case(100):
+        return SimpleEnum100;
+      case(101):
+        return SimpleEnum101;
+      case(102):
+        return SimpleEnum102;
+      case(103):
+        return SimpleEnum103;
+      case(104):
+        return SimpleEnum104;
+      case(105):
+        return SimpleEnum105;
+      case(106):
+        return SimpleEnum106;
+      case(107):
+        return SimpleEnum107;
+      case(108):
+        return SimpleEnum108;
+      case(109):
+        return SimpleEnum109;
+      case(110):
+        return SimpleEnum110;
+      case(111):
+        return SimpleEnum111;
+      case(112):
+        return SimpleEnum112;
+      case(113):
+        return SimpleEnum113;
+      case(114):
+        return SimpleEnum114;
+      case(115):
+        return SimpleEnum115;
+      case(116):
+        return SimpleEnum116;
+      case(117):
+        return SimpleEnum117;
+      case(118):
+        return SimpleEnum118;
+      case(119):
+        return SimpleEnum119;
+      case(120):
+        return SimpleEnum120;
+      case(121):
+        return SimpleEnum121;
+      case(122):
+        return SimpleEnum122;
+      case(123):
+        return SimpleEnum123;
+      case(124):
+        return SimpleEnum124;
+      case(125):
+        return SimpleEnum125;
+      case(126):
+        return SimpleEnum126;
+      case(127):
+        return SimpleEnum127;
+      case(128):
+        return SimpleEnum128;
+      case(129):
+        return SimpleEnum129;
+      case(130):
+        return SimpleEnum130;
+      case(131):
+        return SimpleEnum131;
+      case(132):
+        return SimpleEnum132;
+      case(133):
+        return SimpleEnum133;
+      case(134):
+        return SimpleEnum134;
+      case(135):
+        return SimpleEnum135;
+      case(136):
+        return SimpleEnum136;
+      case(137):
+        return SimpleEnum137;
+      case(138):
+        return SimpleEnum138;
+      case(139):
+        return SimpleEnum139;
+      case(140):
+        return SimpleEnum140;
+      case(141):
+        return SimpleEnum141;
+      case(142):
+        return SimpleEnum142;
+      case(143):
+        return SimpleEnum143;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+  }
+  public boolean set(int index,SimpleEnum value)
+  {
+    if(fieldSpecs[index].indexOf("final") != -1)
+      return false;
+    switch (index)
+    {
+      case(0):
+        SimpleEnum0= value;
+         break;
+      case(1):
+        SimpleEnum1= value;
+         break;
+      case(2):
+        SimpleEnum2= value;
+         break;
+      case(3):
+        SimpleEnum3= value;
+         break;
+      case(4):
+        SimpleEnum4= value;
+         break;
+      case(5):
+        SimpleEnum5= value;
+         break;
+      case(6):
+        SimpleEnum6= value;
+         break;
+      case(7):
+        SimpleEnum7= value;
+         break;
+      case(8):
+        SimpleEnum8= value;
+         break;
+      case(9):
+        SimpleEnum9= value;
+         break;
+      case(10):
+        SimpleEnum10= value;
+         break;
+      case(11):
+        SimpleEnum11= value;
+         break;
+      case(12):
+        SimpleEnum12= value;
+         break;
+      case(13):
+        SimpleEnum13= value;
+         break;
+      case(14):
+        SimpleEnum14= value;
+         break;
+      case(16):
+        SimpleEnum16= value;
+         break;
+      case(17):
+        SimpleEnum17= value;
+         break;
+      case(18):
+        SimpleEnum18= value;
+         break;
+      case(19):
+        SimpleEnum19= value;
+         break;
+      case(20):
+        SimpleEnum20= value;
+         break;
+      case(21):
+        SimpleEnum21= value;
+         break;
+      case(22):
+        SimpleEnum22= value;
+         break;
+      case(23):
+        SimpleEnum23= value;
+         break;
+      case(24):
+        SimpleEnum24= value;
+         break;
+      case(26):
+        SimpleEnum26= value;
+         break;
+      case(28):
+        SimpleEnum28= value;
+         break;
+      case(29):
+        SimpleEnum29= value;
+         break;
+      case(30):
+        SimpleEnum30= value;
+         break;
+      case(31):
+        SimpleEnum31= value;
+         break;
+      case(32):
+        SimpleEnum32= value;
+         break;
+      case(33):
+        SimpleEnum33= value;
+         break;
+      case(35):
+        SimpleEnum35= value;
+         break;
+      case(36):
+        SimpleEnum36= value;
+         break;
+      case(37):
+        SimpleEnum37= value;
+         break;
+      case(38):
+        SimpleEnum38= value;
+         break;
+      case(39):
+        SimpleEnum39= value;
+         break;
+      case(40):
+        SimpleEnum40= value;
+         break;
+      case(41):
+        SimpleEnum41= value;
+         break;
+      case(42):
+        SimpleEnum42= value;
+         break;
+      case(43):
+        SimpleEnum43= value;
+         break;
+      case(44):
+        SimpleEnum44= value;
+         break;
+      case(45):
+        SimpleEnum45= value;
+         break;
+      case(46):
+        SimpleEnum46= value;
+         break;
+      case(47):
+        SimpleEnum47= value;
+         break;
+      case(48):
+        SimpleEnum48= value;
+         break;
+      case(49):
+        SimpleEnum49= value;
+         break;
+      case(50):
+        SimpleEnum50= value;
+         break;
+      case(52):
+        SimpleEnum52= value;
+         break;
+      case(53):
+        SimpleEnum53= value;
+         break;
+      case(54):
+        SimpleEnum54= value;
+         break;
+      case(55):
+        SimpleEnum55= value;
+         break;
+      case(56):
+        SimpleEnum56= value;
+         break;
+      case(57):
+        SimpleEnum57= value;
+         break;
+      case(58):
+        SimpleEnum58= value;
+         break;
+      case(59):
+        SimpleEnum59= value;
+         break;
+      case(60):
+        SimpleEnum60= value;
+         break;
+      case(62):
+        SimpleEnum62= value;
+         break;
+      case(64):
+        SimpleEnum64= value;
+         break;
+      case(65):
+        SimpleEnum65= value;
+         break;
+      case(66):
+        SimpleEnum66= value;
+         break;
+      case(67):
+        SimpleEnum67= value;
+         break;
+      case(68):
+        SimpleEnum68= value;
+         break;
+      case(69):
+        SimpleEnum69= value;
+         break;
+      case(71):
+        SimpleEnum71= value;
+         break;
+      case(72):
+        SimpleEnum72= value;
+         break;
+      case(73):
+        SimpleEnum73= value;
+         break;
+      case(74):
+        SimpleEnum74= value;
+         break;
+      case(75):
+        SimpleEnum75= value;
+         break;
+      case(76):
+        SimpleEnum76= value;
+         break;
+      case(77):
+        SimpleEnum77= value;
+         break;
+      case(78):
+        SimpleEnum78= value;
+         break;
+      case(79):
+        SimpleEnum79= value;
+         break;
+      case(80):
+        SimpleEnum80= value;
+         break;
+      case(81):
+        SimpleEnum81= value;
+         break;
+      case(82):
+        SimpleEnum82= value;
+         break;
+      case(83):
+        SimpleEnum83= value;
+         break;
+      case(84):
+        SimpleEnum84= value;
+         break;
+      case(85):
+        SimpleEnum85= value;
+         break;
+      case(86):
+        SimpleEnum86= value;
+         break;
+      case(88):
+        SimpleEnum88= value;
+         break;
+      case(89):
+        SimpleEnum89= value;
+         break;
+      case(90):
+        SimpleEnum90= value;
+         break;
+      case(91):
+        SimpleEnum91= value;
+         break;
+      case(92):
+        SimpleEnum92= value;
+         break;
+      case(93):
+        SimpleEnum93= value;
+         break;
+      case(94):
+        SimpleEnum94= value;
+         break;
+      case(95):
+        SimpleEnum95= value;
+         break;
+      case(96):
+        SimpleEnum96= value;
+         break;
+      case(98):
+        SimpleEnum98= value;
+         break;
+      case(100):
+        SimpleEnum100= value;
+         break;
+      case(101):
+        SimpleEnum101= value;
+         break;
+      case(102):
+        SimpleEnum102= value;
+         break;
+      case(103):
+        SimpleEnum103= value;
+         break;
+      case(104):
+        SimpleEnum104= value;
+         break;
+      case(105):
+        SimpleEnum105= value;
+         break;
+      case(107):
+        SimpleEnum107= value;
+         break;
+      case(108):
+        SimpleEnum108= value;
+         break;
+      case(109):
+        SimpleEnum109= value;
+         break;
+      case(110):
+        SimpleEnum110= value;
+         break;
+      case(111):
+        SimpleEnum111= value;
+         break;
+      case(112):
+        SimpleEnum112= value;
+         break;
+      case(113):
+        SimpleEnum113= value;
+         break;
+      case(114):
+        SimpleEnum114= value;
+         break;
+      case(115):
+        SimpleEnum115= value;
+         break;
+      case(116):
+        SimpleEnum116= value;
+         break;
+      case(117):
+        SimpleEnum117= value;
+         break;
+      case(118):
+        SimpleEnum118= value;
+         break;
+      case(119):
+        SimpleEnum119= value;
+         break;
+      case(120):
+        SimpleEnum120= value;
+         break;
+      case(121):
+        SimpleEnum121= value;
+         break;
+      case(122):
+        SimpleEnum122= value;
+         break;
+      case(124):
+        SimpleEnum124= value;
+         break;
+      case(125):
+        SimpleEnum125= value;
+         break;
+      case(126):
+        SimpleEnum126= value;
+         break;
+      case(127):
+        SimpleEnum127= value;
+         break;
+      case(128):
+        SimpleEnum128= value;
+         break;
+      case(129):
+        SimpleEnum129= value;
+         break;
+      case(130):
+        SimpleEnum130= value;
+         break;
+      case(131):
+        SimpleEnum131= value;
+         break;
+      case(132):
+        SimpleEnum132= value;
+         break;
+      case(134):
+        SimpleEnum134= value;
+         break;
+      case(136):
+        SimpleEnum136= value;
+         break;
+      case(137):
+        SimpleEnum137= value;
+         break;
+      case(138):
+        SimpleEnum138= value;
+         break;
+      case(139):
+        SimpleEnum139= value;
+         break;
+      case(140):
+        SimpleEnum140= value;
+         break;
+      case(141):
+        SimpleEnum141= value;
+         break;
+      case(143):
+        SimpleEnum143= value;
+         break;
+      default:
+        throw new IndexOutOfBoundsException();
+    }
+    return true;
+  }
+
+    public static class Oid implements Serializable {
+        public int identifier;
+
+        public Oid() {
+        }
+
+        public Oid(String s) { identifier = Integer.parseInt(justTheId(s)); }
+
+        public String toString() { return this.getClass().getName() + ": "  + identifier;}
+
+        public int hashCode() { return (int)identifier ; }
+
+        public boolean equals(Object other) {
+            if (other != null && (other instanceof Oid)) {
+                Oid k = (Oid)other;
+                return k.identifier == this.identifier;
+            }
+            return false;
+        }
+        
+        protected static String justTheId(String str) {
+            return str.substring(str.indexOf(':') + 1);
+        }
+    }   
+}

Propchange: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum.java
------------------------------------------------------------------------------
    svn:eol-style = LF

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.java?rev=591430&r1=591429&r2=591430&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.java (original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.java Fri Nov  2 12:30:50 2007
@@ -120,6 +120,19 @@
   public Map MapOfString_Long122;
   public Map MapOfString_Short123;
   public Map MapOfString_Short125;
+  public Map MapOfString_SimpleEnum126;
+  public Map MapOfString_SimpleEnum127;
+  public Map MapOfString_SimpleEnum128;
+  public Map MapOfString_SimpleEnum129;
+  public Map MapOfString_SimpleEnum130;
+  public Map MapOfString_SimpleEnum131;
+  public Map MapOfString_SimpleEnum132;
+  public Map MapOfString_SimpleEnum133;
+  public Map MapOfString_SimpleEnum134;
+  public Map MapOfString_SimpleEnum135;
+  public Map MapOfString_SimpleEnum136;
+  public Map MapOfString_SimpleEnum137;
+  public Map MapOfString_SimpleEnum138;
 
   public static final String [] fieldSpecs = { 
   "public Map MapOfString_Object0",
@@ -219,7 +232,20 @@
   "embedded-key=false  public Map MapOfString_Long120",
   "embedded-key=false embedded-value=false public Map MapOfString_Long122",
   "embedded-key=false  public Map MapOfString_Short123",
-  "embedded-key=false embedded-value=false public Map MapOfString_Short125"
+  "embedded-key=false embedded-value=false public Map MapOfString_Short125",
+  "public Map MapOfString_SimpleEnum126",
+  "embedded-value=true public Map MapOfString_SimpleEnum127",
+  "embedded-value=false public Map MapOfString_SimpleEnum128",
+  "embedded-key=true  public Map MapOfString_SimpleEnum129",
+  "embedded-key=true embedded-value=true public Map MapOfString_SimpleEnum130",
+  "embedded-key=false  public Map MapOfString_SimpleEnum131",
+  "embedded-key=false embedded-value=false public Map MapOfString_SimpleEnum132",
+  "public Map MapOfString_SimpleEnum133",
+  "embedded-value=true public Map MapOfString_SimpleEnum134",
+  "embedded-value=false public Map MapOfString_SimpleEnum135",
+  "embedded-key=true  public Map MapOfString_SimpleEnum136",
+  "embedded-key=true embedded-value=true public Map MapOfString_SimpleEnum137",
+  "embedded-key=false  public Map MapOfString_SimpleEnum138"
   };
   public int getLength()
   {
@@ -425,6 +451,32 @@
         return MapOfString_Short123;
       case(97):
         return MapOfString_Short125;
+      case(98):
+        return MapOfString_SimpleEnum126;
+      case(99):
+        return MapOfString_SimpleEnum127;
+      case(100):
+        return MapOfString_SimpleEnum128;
+      case(101):
+        return MapOfString_SimpleEnum129;
+      case(102):
+        return MapOfString_SimpleEnum130;
+      case(103):
+        return MapOfString_SimpleEnum131;
+      case(104):
+        return MapOfString_SimpleEnum132;
+      case(105):
+        return MapOfString_SimpleEnum133;
+      case(106):
+        return MapOfString_SimpleEnum134;
+      case(107):
+        return MapOfString_SimpleEnum135;
+      case(108):
+        return MapOfString_SimpleEnum136;
+      case(109):
+        return MapOfString_SimpleEnum137;
+      case(110):
+        return MapOfString_SimpleEnum138;
       default:
         throw new IndexOutOfBoundsException();
     }
@@ -728,6 +780,45 @@
          break;
       case(97):
         MapOfString_Short125= value;
+         break;
+      case(98):
+        MapOfString_SimpleEnum126= value;
+         break;
+      case(99):
+        MapOfString_SimpleEnum127= value;
+         break;
+      case(100):
+        MapOfString_SimpleEnum128= value;
+         break;
+      case(101):
+        MapOfString_SimpleEnum129= value;
+         break;
+      case(102):
+        MapOfString_SimpleEnum130= value;
+         break;
+      case(103):
+        MapOfString_SimpleEnum131= value;
+         break;
+      case(104):
+        MapOfString_SimpleEnum132= value;
+         break;
+      case(105):
+        MapOfString_SimpleEnum133= value;
+         break;
+      case(106):
+        MapOfString_SimpleEnum134= value;
+         break;
+      case(107):
+        MapOfString_SimpleEnum135= value;
+         break;
+      case(108):
+        MapOfString_SimpleEnum136= value;
+         break;
+      case(109):
+        MapOfString_SimpleEnum137= value;
+         break;
+      case(110):
+        MapOfString_SimpleEnum138= value;
          break;
       default:
         throw new IndexOutOfBoundsException();

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.java?rev=591430&r1=591429&r2=591430&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.java (original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.java Fri Nov  2 12:30:50 2007
@@ -113,6 +113,19 @@
   public Map MapOfShort_String112;
   public Map MapOfShort_String114;
   public Map MapOfShort_String116;
+  public Map MapOfSimpleEnum_String117;
+  public Map MapOfSimpleEnum_String118;
+  public Map MapOfSimpleEnum_String119;
+  public Map MapOfSimpleEnum_String120;
+  public Map MapOfSimpleEnum_String121;
+  public Map MapOfSimpleEnum_String122;
+  public Map MapOfSimpleEnum_String123;
+  public Map MapOfSimpleEnum_String124;
+  public Map MapOfSimpleEnum_String125;
+  public Map MapOfSimpleEnum_String126;
+  public Map MapOfSimpleEnum_String127;
+  public Map MapOfSimpleEnum_String128;
+  public Map MapOfSimpleEnum_String129;
 
   public static final String [] fieldSpecs = { 
   "public Map MapOfObject_String0",
@@ -205,7 +218,20 @@
   "embedded-key=true  public Map MapOfShort_String111",
   "embedded-key=true embedded-value=true public Map MapOfShort_String112",
   "embedded-key=false  public Map MapOfShort_String114",
-  "embedded-key=false embedded-value=false public Map MapOfShort_String116"
+  "embedded-key=false embedded-value=false public Map MapOfShort_String116",
+  "public Map MapOfSimpleEnum_String117",
+  "embedded-value=true public Map MapOfSimpleEnum_String118",
+  "embedded-value=false public Map MapOfSimpleEnum_String119",
+  "embedded-key=true  public Map MapOfSimpleEnum_String120",
+  "embedded-key=true embedded-value=true public Map MapOfSimpleEnum_String121",
+  "embedded-key=false  public Map MapOfSimpleEnum_String122",
+  "embedded-key=false embedded-value=false public Map MapOfSimpleEnum_String123",
+  "public Map MapOfSimpleEnum_String124",
+  "embedded-value=true public Map MapOfSimpleEnum_String124",
+  "embedded-value=false public Map MapOfSimpleEnum_String126",
+  "embedded-key=true  public Map MapOfSimpleEnum_String127",
+  "embedded-key=true embedded-value=true public Map MapOfSimpleEnum_String128",
+  "embedded-key=false  public Map MapOfSimpleEnum_String129"
   };
   public int getLength()
   {
@@ -397,6 +423,32 @@
         return MapOfShort_String114;
       case(90):
         return MapOfShort_String116;
+      case(91):
+        return MapOfSimpleEnum_String117;
+      case(92):
+        return MapOfSimpleEnum_String118;
+      case(93):
+        return MapOfSimpleEnum_String119;
+      case(94):
+        return MapOfSimpleEnum_String120;
+      case(95):
+        return MapOfSimpleEnum_String121;
+      case(96):
+        return MapOfSimpleEnum_String122;
+      case(97):
+        return MapOfSimpleEnum_String123;
+      case(98):
+        return MapOfSimpleEnum_String124;
+      case(99):
+        return MapOfSimpleEnum_String125;
+      case(100):
+        return MapOfSimpleEnum_String126;
+      case(101):
+        return MapOfSimpleEnum_String127;
+      case(102):
+        return MapOfSimpleEnum_String128;
+      case(103):
+        return MapOfSimpleEnum_String129;
       default:
         throw new IndexOutOfBoundsException("Bad index " + index);
     }
@@ -679,6 +731,45 @@
          break;
       case(90):
         MapOfShort_String116= value;
+         break;
+      case(91):
+        MapOfSimpleEnum_String117= value;
+         break;
+      case(92):
+        MapOfSimpleEnum_String118= value;
+         break;
+      case(93):
+        MapOfSimpleEnum_String119= value;
+         break;
+      case(94):
+        MapOfSimpleEnum_String120= value;
+         break;
+      case(95):
+        MapOfSimpleEnum_String121= value;
+         break;
+      case(96):
+        MapOfSimpleEnum_String122= value;
+         break;
+      case(97):
+        MapOfSimpleEnum_String123= value;
+         break;
+      case(98):
+        MapOfSimpleEnum_String124= value;
+         break;
+      case(99):
+        MapOfSimpleEnum_String125= value;
+         break;
+      case(100):
+        MapOfSimpleEnum_String126= value;
+         break;
+      case(101):
+        MapOfSimpleEnum_String127= value;
+         break;
+      case(102):
+        MapOfSimpleEnum_String128= value;
+         break;
+      case(103):
+        MapOfSimpleEnum_String129= value;
          break;
       default:
         throw new IndexOutOfBoundsException("Bad index " + index);

Added: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/SimpleEnum.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/SimpleEnum.java?rev=591430&view=auto
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/SimpleEnum.java (added)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/SimpleEnum.java Fri Nov  2 12:30:50 2007
@@ -0,0 +1,130 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+
+package org.apache.jdo.tck.pc.fieldtypes;
+
+import java.util.Date;
+import java.io.Serializable;
+
+public enum SimpleEnum {
+    
+AL("ALABAMA"),
+AK("ALASKA"),
+AS("AMERICAN SAMOA"),
+AZ("ARIZONA"),
+AR("ARKANSAS"),
+CA("CALIFORNIA"),
+CO("COLORADO"),
+CT("CONNECTICUT"),
+DE("DELAWARE"),
+DC("DISTRICT OF COLUMBIA"),
+FM("FEDERATED STATES OF MICRONESIA"),
+FL("FLORIDA"),
+GA("GEORGIA"),
+GU("GUAM"),
+HI("HAWAII"),
+ID("IDAHO"),
+IL("ILLINOIS"),
+IN("INDIANA"),
+IA("IOWA"),
+KS("KANSAS"),
+KY("KENTUCKY"),
+LA("LOUISIANA"),
+ME("MAINE"),
+MH("MARSHALL ISLANDS"),
+MD("MARYLAND"),
+MA("MASSACHUSETTS"),
+MI("MICHIGAN"),
+MN("MINNESOTA"),
+MS("MISSISSIPPI"),
+MO("MISSOURI"),
+MT("MONTANA"),
+NE("NEBRASKA"),
+NV("NEVADA"),
+NH("NEW HAMPSHIRE"),
+NJ("NEW JERSEY"),
+NM("NEW MEXICO"),
+NY("NEW YORK"),
+NC("NORTH CAROLINA"),
+ND("NORTH DAKOTA"),
+MP("NORTHERN MARIANA ISLANDS"),
+OH("OHIO"),
+OK("OKLAHOMA"),
+OR("OREGON"),
+PW("PALAU"),
+PA("PENNSYLVANIA"),
+PR("PUERTO RICO"),
+RI("RHODE ISLAND"),
+SC("SOUTH CAROLINA"),
+SD("SOUTH DAKOTA"),
+TN("TENNESSEE"),
+TX("TEXAS"),
+UT("UTAH"),
+VT("VERMONT"),
+VI("VIRGIN ISLANDS"),
+VA("VIRGINIA"),
+WA("WASHINGTON"),
+WV("WEST VIRGINIA"),
+WI("WISCONSIN"),
+WY("WYOMING");
+    
+    String sname;
+    
+    SimpleEnum(String s) {
+        sname = s;
+    }
+    
+    public String toString() {
+        return sname;
+    };
+
+    public static class Oid implements Serializable, Comparable {
+        public long id;
+        
+        public Oid() {
+        }
+        
+        public Oid(String s) { id = Integer.parseInt(justTheId(s)); }
+        
+        public String toString() { return this.getClass().getName() + ": "  + id;}
+        
+        public int hashCode() { return (int)id ; }
+        
+        public boolean equals(Object other) {
+            if (other != null && (other instanceof Oid)) {
+                Oid k = (Oid)other;
+                return k.id == this.id;
+            }
+            return false;
+        }
+        
+        protected static String justTheId(String str) {
+            return str.substring(str.indexOf(':') + 1);
+        }
+        
+        public int compareTo(Object p){
+            // may throw ClassCastException which the user must handle
+            Oid other = (Oid) p;
+            if( id < other.id ) return -1;
+            if( id > other.id ) return 1;
+            return 0;
+        }
+        
+    }
+}

Propchange: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/pc/fieldtypes/SimpleEnum.java
------------------------------------------------------------------------------
    svn:eol-style = LF

Modified: db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayCollections.jdo
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayCollections.jdo?rev=591430&r1=591429&r2=591430&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayCollections.jdo (original)
+++ db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayCollections.jdo Fri Nov  2 12:30:50 2007
@@ -141,6 +141,18 @@
 <array embedded-element="true">
 </array>
 </field>
+<field name="ArrayOfSimpleEnum28" serialized="true">
+<array embedded-element="false">
+</array>
+</field>
+<field name="ArrayOfSimpleEnum29" >
+<array embedded-element="true">
+</array>
+</field>
+<field name="ArrayOfSimpleEnum30" >
+<array embedded-element="true">
+</array>
+</field>
 </class>
 </package>
 </jdo>

Modified: db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayListCollections.jdo
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayListCollections.jdo?rev=591430&r1=591429&r2=591430&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayListCollections.jdo (original)
+++ db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/ArrayListCollections.jdo Fri Nov  2 12:30:50 2007
@@ -191,6 +191,29 @@
 <collection element-type="java.lang.Short" embedded-element="false">
 </collection>
 </field>
+<field name="ArrayListOfSimpleEnum42" >
+<collection element-type="org.apache.jdo.tck.pc.fieldtypes.SimpleEnum">
+</collection>
+</field>
+<field name="ArrayListOfSimpleEnum43" >
+<collection element-type="org.apache.jdo.tck.pc.fieldtypes.SimpleEnum"
+        embedded-element="true">
+</collection>
+</field>
+<field name="ArrayListOfSimpleEnum44" >
+<collection element-type="org.apache.jdo.tck.pc.fieldtypes.SimpleEnum"
+           embedded-element="false">
+</collection>
+</field>
+<field name="ArrayListOfSimpleEnum45" >
+<collection element-type="org.apache.jdo.tck.pc.fieldtypes.SimpleEnum">
+</collection>
+</field>
+<field name="ArrayListOfSimpleEnum46" >
+<collection element-type="org.apache.jdo.tck.pc.fieldtypes.SimpleEnum"
+           embedded-element="false">
+</collection>
+</field>
 </class>
 </package>
 </jdo>

Added: db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum.jdo
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum.jdo?rev=591430&view=auto
==============================================================================
--- db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum.jdo (added)
+++ db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum.jdo Fri Nov  2 12:30:50 2007
@@ -0,0 +1,220 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<jdo xmlns="http://java.sun.com/xml/ns/jdo/jdo"
+     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+     xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdo 
+	http://java.sun.com/xml/ns/jdo/jdo_2_1.xsd">
+<package name="org.apache.jdo.tck.pc.fieldtypes">
+<class name="FieldsOfSimpleEnum" identity-type="application"
+    objectid-class="org.apache.jdo.tck.pc.fieldtypes.FieldsOfSimpleEnum$Oid">
+<field name="identifier" primary-key="true"/>
+<field name="SimpleEnum1"  embedded="true">
+</field>
+<field name="SimpleEnum2"  embedded="false">
+</field>
+<field name="SimpleEnum3" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum4" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum5" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum6" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum7" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum10" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum11" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum12" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum13" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum14" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum17"  embedded="true">
+</field>
+<field name="SimpleEnum18"  embedded="false">
+</field>
+<field name="SimpleEnum19" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum20" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum21" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum22" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum23" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum29" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum30" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum31" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum32" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum33" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum37"  embedded="true">
+</field>
+<field name="SimpleEnum38"  embedded="false">
+</field>
+<field name="SimpleEnum39" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum40" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum41" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum42" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum43" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum46" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum47" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum48" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum49" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum50" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum53"  embedded="true">
+</field>
+<field name="SimpleEnum54"  embedded="false">
+</field>
+<field name="SimpleEnum55" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum56" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum57" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum58" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum59" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum65" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum66" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum67" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum68" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum69" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum73"  embedded="true">
+</field>
+<field name="SimpleEnum74"  embedded="false">
+</field>
+<field name="SimpleEnum75" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum76" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum77" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum78" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum79" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum82" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum83" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum84" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum85" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum86" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum89"  embedded="true">
+</field>
+<field name="SimpleEnum90"  embedded="false">
+</field>
+<field name="SimpleEnum91" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum92" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum93" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum94" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum95" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum101" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum102" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum103" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum104" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum105" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum109"  embedded="true">
+</field>
+<field name="SimpleEnum110"  embedded="false">
+</field>
+<field name="SimpleEnum111" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum112" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum113" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum114" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum115" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum118" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum119" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum120" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum121" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum122" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum125"  embedded="true">
+</field>
+<field name="SimpleEnum126"  embedded="false">
+</field>
+<field name="SimpleEnum127" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum128" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum129" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum130" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum131" persistence-modifier="transactional" >
+</field>
+<field name="SimpleEnum137" persistence-modifier="none" >
+</field>
+<field name="SimpleEnum138" persistence-modifier="persistent" >
+</field>
+<field name="SimpleEnum139" persistence-modifier="persistent" embedded="true">
+</field>
+<field name="SimpleEnum140" persistence-modifier="persistent" embedded="false">
+</field>
+<field name="SimpleEnum141" persistence-modifier="transactional" >
+</field>
+</class>
+</package>
+</jdo>

Propchange: db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/FieldsOfSimpleEnum.jdo
------------------------------------------------------------------------------
    svn:eol-style = LF

Modified: db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.jdo
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.jdo?rev=591430&r1=591429&r2=591430&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.jdo (original)
+++ db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringKeyCollections.jdo Fri Nov  2 12:30:50 2007
@@ -452,6 +452,62 @@
 <map key-type="String" value-type="Short" >
 </map>
 </field>
+<field name="MapOfString_SimpleEnum126" >
+<map key-type="String" value-type="SimpleEnum"
+     embedded-key="true" embedded-value="true">
+</map>
+</field>
+<field name="MapOfString_SimpleEnum127" >
+<map key-type="String" value-type="SimpleEnum" embedded-value="true">
+</map>
+</field>
+<field name="MapOfString_SimpleEnum128" >
+<map key-type="String" value-type="SimpleEnum">
+</map>
+</field>
+<field name="MapOfString_SimpleEnum129" >
+<map key-type="String" value-type="SimpleEnum"
+     embedded-key="true" embedded-value="true">
+</map>
+</field>
+<field name="MapOfString_SimpleEnum130" >
+<map key-type="String" value-type="SimpleEnum" embedded-key="true">
+</map>
+</field>
+<field name="MapOfString_SimpleEnum131" >
+<map key-type="String" value-type="SimpleEnum">
+</map>
+</field>
+<field name="MapOfString_SimpleEnum132" serialized="true">
+<map key-type="String" value-type="SimpleEnum" >
+</map>
+</field>
+<field name="MapOfString_SimpleEnum133" >
+<map key-type="String" value-type="SimpleEnum"
+     embedded-key="true" embedded-value="true">
+</map>
+</field>
+<field name="MapOfString_SimpleEnum134" >
+<map key-type="String" value-type="SimpleEnum" embedded-value="true">
+</map>
+</field>
+<field name="MapOfString_SimpleEnum135" >
+<map key-type="String" value-type="SimpleEnum">
+</map>
+</field>
+<field name="MapOfString_SimpleEnum136" >
+<map key-type="String" value-type="SimpleEnum"
+     embedded-key="true" embedded-value="true">
+</map>
+</field>
+<field name="MapOfString_SimpleEnum137" >
+<map key-type="String" value-type="SimpleEnum" embedded-key="true">
+</map>
+</field>
+<field name="MapOfString_SimpleEnum138" >
+<map key-type="String" value-type="SimpleEnum">
+</map>
+</field>
 </class>
 </package>
 </jdo>

Modified: db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.jdo
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.jdo?rev=591430&r1=591429&r2=591430&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.jdo (original)
+++ db/jdo/trunk/tck2/src/jdo/applicationidentity/org/apache/jdo/tck/pc/fieldtypes/MapStringValueCollections.jdo Fri Nov  2 12:30:50 2007
@@ -416,6 +416,62 @@
 <map  key-type="Short" value-type="String">
 </map>
 </field>
+<field name="MapOfSimpleEnum_String117" >
+<map  key-type="SimpleEnum" value-type="String">
+</map>
+</field>
+<field name="MapOfSimpleEnum_String118" >
+<map  key-type="SimpleEnum" value-type="String"
+      embedded-key="true" embedded-value="true">
+</map>
+</field>
+<field name="MapOfSimpleEnum_String119" >
+<map  key-type="SimpleEnum" value-type="String" embedded-value="true">
+</map>
+</field>
+<field name="MapOfSimpleEnum_String120" >
+<map  key-type="SimpleEnum" value-type="String">
+</map>
+</field>
+<field name="MapOfSimpleEnum_String121" >
+<map  key-type="SimpleEnum" value-type="String"
+      embedded-key="true" embedded-value="true">
+</map>
+</field>
+<field name="MapOfSimpleEnum_String122" >
+<map  key-type="SimpleEnum" value-type="String" embedded-value="true">
+</map>
+</field>
+<field name="MapOfSimpleEnum_String123" serialized="true">
+<map  key-type="SimpleEnum" value-type="String">
+</map>
+</field>
+<field name="MapOfSimpleEnum_String124" >
+<map  key-type="SimpleEnum" value-type="String">
+</map>
+</field>
+<field name="MapOfSimpleEnum_String125" >
+<map  key-type="SimpleEnum" value-type="String"
+      embedded-key="true" embedded-value="true">
+</map>
+</field>
+<field name="MapOfSimpleEnum_String126" >
+<map  key-type="SimpleEnum" value-type="String" embedded-value="true">
+</map>
+</field>
+<field name="MapOfSimpleEnum_String127" >
+<map  key-type="SimpleEnum" value-type="String">
+</map>
+</field>
+<field name="MapOfSimpleEnum_String128" >
+<map  key-type="SimpleEnum" value-type="String"
+      embedded-key="true" embedded-value="true">
+</map>
+</field>
+<field name="MapOfSimpleEnum_String129" >
+<map  key-type="SimpleEnum" value-type="String" embedded-value="true">
+</map>
+</field>
 </class>
 </package>
 </jdo>



Mime
View raw message