tck/src/main/java/org/apache/jdo/tck/query/jdoql/methods/EnumMethodToString.java [82:104]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private void insertFieldsOfSimpleEnums(PersistenceManager pm) {
    Transaction tx = pm.currentTransaction();
    try {
      tx.begin();
      FieldsOfSimpleEnum f1 = new FieldsOfSimpleEnum();
      f1.set(0, SimpleEnum.CA);
      f1.identifier = 1;
      pm.makePersistent(f1);
      FieldsOfSimpleEnum f2 = new FieldsOfSimpleEnum();
      f2.set(0, SimpleEnum.HI);
      f2.identifier = 2;
      pm.makePersistent(f2);
      FieldsOfSimpleEnum f3 = new FieldsOfSimpleEnum();
      f3.set(0, SimpleEnum.DC);
      f3.identifier = 3;
      pm.makePersistent(f3);
      oidOfExpectedResult = pm.getObjectId(f1);
      tx.commit();
      tx = null;
    } finally {
      if ((tx != null) && tx.isActive()) tx.rollback();
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



tck/src/main/java/org/apache/jdo/tck/query/jdoql/methods/EnumMethodOrdinal.java [82:104]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private void insertFieldsOfSimpleEnums(PersistenceManager pm) {
    Transaction tx = pm.currentTransaction();
    try {
      tx.begin();
      FieldsOfSimpleEnum f1 = new FieldsOfSimpleEnum();
      f1.set(0, SimpleEnum.CA);
      f1.identifier = 1;
      pm.makePersistent(f1);
      FieldsOfSimpleEnum f2 = new FieldsOfSimpleEnum();
      f2.set(0, SimpleEnum.HI);
      f2.identifier = 2;
      pm.makePersistent(f2);
      FieldsOfSimpleEnum f3 = new FieldsOfSimpleEnum();
      f3.set(0, SimpleEnum.DC);
      f3.identifier = 3;
      pm.makePersistent(f3);
      oidOfExpectedResult = pm.getObjectId(f1);
      tx.commit();
      tx = null;
    } finally {
      if ((tx != null) && tx.isActive()) tx.rollback();
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



