Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-951

OracleFileSystem uses getClass().getResourceAsStream to load schema file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.3.1
    • jackrabbit-core
    • None

    Description

      org.apache.jackrabbit.core.fs.db.OracleFileSystem loads the schema via getClass().getResourceAsStream(...).
      This makes it impossible to extend the class without either copying the schema ddl file, or overwriting checkSchema(...),
      as the schema file is not accessible.

      The solution is to use OracleFilesystem.class.getResourceAsStream(...).

      See JCR-595 which fixed this already for org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.

      Attachments

        1. jackrabbit.542562.patch.txt
          0.8 kB
          Marcel May

        Activity

          People

            stefan@jira Stefan Guggisberg
            marcelmay Marcel May
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: