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

org.apache.jdo.tck.api.persistencemanager.lifecycle.MakePersistent may fail on teardown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JDO 2 beta
    • JDO 2 final (2.0)
    • tck
    • None

    Description

      When invoked from a configuration that does not use the default schema, MakePersistent fails because it queries for classes to tear down that do not exist in the current schema.

      testMakePersistent
      > > (org.apache.jdo.tck.api.persistencemanager.lifecycle.MakePersistent)
      > > javax.jdo.JDOFatalException:
      > > Exception during tearDown
      > > at org.apache.jdo.tck.JDO_Test.tearDown(JDO_Test.java:329)
      > > at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:251)
      > > at org.apache.jdo.tck.util.BatchTestRunner.doRun
      > > (BatchTestRunner.java:107)
      > > at org.apache.jdo.tck.util.BatchTestRunner.start
      > > (BatchTestRunner.java:147)
      > > at org.apache.jdo.tck.util.BatchTestRunner.main
      > > (BatchTestRunner.java:122)
      > > NestedThrowablesStackTrace:
      > > javax.jdo.JDODataStoreException: Error executing JDOQL query "SELECT
      > > THIS.DEPARTMENT_ID,THIS.DEPTID,THIS."NAME" FROM
      > > datastoreidentity7.DEPARTMENT
      > > THIS" : Schema 'DATASTOREIDENTITY7' does not exist
      > > ERROR 42Y07: Schema 'DATASTOREIDENTITY7' does not exist

      Attachments

        1. JDO-354.patch
          0.7 kB
          Michelle Caisse

        Activity

          People

            mcaisse Michelle Caisse
            mcaisse Michelle Caisse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: