You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2007/06/05 00:00:40 UTC
[jira] Updated: (JCR-951) OracleFileSystem uses
getClass().getResourceAsStream to load schema file
[ https://issues.apache.org/jira/browse/JCR-951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-951:
------------------------------
Affects Version/s: (was: 1.3.1)
1.3
Issue Type: Bug (was: Improvement)
Merged to the 1.3 branch in revision 544305.
> OracleFileSystem uses getClass().getResourceAsStream to load schema file
> ------------------------------------------------------------------------
>
> Key: JCR-951
> URL: https://issues.apache.org/jira/browse/JCR-951
> Project: Jackrabbit
> Issue Type: Bug
> Components: core
> Affects Versions: 1.3
> Reporter: Marcel May
> Assignee: Stefan Guggisberg
> Priority: Minor
> Fix For: 1.3.1
>
> Attachments: jackrabbit.542562.patch.txt
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.