Uploaded image for project: 'Repository'
  1. Repository
  2. REPOSITORY-209

Repository.xml should use the DerbyDataStore class when using a Derby data store.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.5
    • None
    • None
    • None

      In repository.xml, when using a derby data store, the XML declaration starts with : <DataStore class="org.apache.jackrabbit.core.data.db.DbDataStore">
      but it should be <DataStore class="org.apache.jackrabbit.core.data.db.DerbyDataStore">.
      The DerbyDataStore class extends DbDataStore. Only two methods are overriden (#createConnectionHelper() and #close()), so the impact is probably negligible, but it remains a bug.

      Moreover, doing instance of on the datastore object does return "DbDataStore" in our case but we expect "DerbyDataStore".

            ngavalda Nicolas Gavalda (Inactive)
            trizzi Thibaut Rizzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: