Derby
  1. Derby
  2. DERBY-2164

Provide the framework to run the sql engine without a store - "storeless engine"

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.7.1.1
    • Component/s: Services, SQL
    • Labels:
      None

      Description

      Can be used of the base for other projects such as a standalone SQL syntax checker discussed here:

      http://mail-archives.apache.org/mod_mbox/db-derby-user/200612.mbox/%3c45704D0E.9030102@apache.org%3e

        Issue Links

          Activity

          Hide
          Kristian Waagan added a comment -

          I believe the core storeless engine has been added. Closing issue.

          Show
          Kristian Waagan added a comment - I believe the core storeless engine has been added. Closing issue.
          Hide
          Knut Anders Hatlen added a comment -

          When the storeless engine is loaded, it throws a NullPointerException because impl.services.reflect.UpdateLoader's constructor calls createCompatibilitySpace() on the lock factory, which is null. The rest of the code in UpdateLoader correctly handles the lack of a lock factory, so I just added a null check in the constructor to fix it. Fixed in revision 675918.

          Show
          Knut Anders Hatlen added a comment - When the storeless engine is loaded, it throws a NullPointerException because impl.services.reflect.UpdateLoader's constructor calls createCompatibilitySpace() on the lock factory, which is null. The rest of the code in UpdateLoader correctly handles the lack of a lock factory, so I just added a null check in the constructor to fix it. Fixed in revision 675918.
          Hide
          Knut Anders Hatlen added a comment -

          Added classes.storeless to svn:ignore and committed revision 497745.

          Show
          Knut Anders Hatlen added a comment - Added classes.storeless to svn:ignore and committed revision 497745.
          Hide
          Kristian Waagan added a comment -

          Backed out revision 497615 (with r497644), as it broke the build.
          Build error:
          BUILD FAILED
          /some-path/trunk/build.xml:347: Basedir /some-path/trunk/$

          {derby.storeless.src.dir}

          does not exist

          Total time: 1 minute 24 seconds

          Show
          Kristian Waagan added a comment - Backed out revision 497615 (with r497644), as it broke the build. Build error: BUILD FAILED /some-path/trunk/build.xml:347: Basedir /some-path/trunk/$ {derby.storeless.src.dir} does not exist Total time: 1 minute 24 seconds

            People

            • Assignee:
              Daniel John Debrunner
              Reporter:
              Daniel John Debrunner
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development