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

Support more JDBC-aware databases in JDO TCK

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • JDO 3.1
    • JDO 3.2
    • tck
    • None
    • non-Derby databases with RI (DataNucleus)

    Description

      The TCK does not support databases except for Derby, even though the RI does.

      The primary blocker is that the TCK uses an embedded Derby database.

      The proposed solution is to use a JDBC connection to the database instead of an embedded Derby database.

      There are a few issues:

      • Before running the TCK, the database will need to be started, which may involve a manual operation or a database-dependent script. And after the TCK test completes, the database will need to be shut down.
      • The database schema need to be created, which currently uses a Derby-specific program. This program needs to be replaced by a program that reads a SQL command file containing the SQL commands to create the schema. And the schema needs to be created manually or automatically based on metadata.

      Attachments

        1. JDO-766-patch.txt
          41 kB
          Michael Bouschen

        Activity

          People

            mbo Michael Bouschen
            clr Craig L Russell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: