Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 22130 invoked from network); 29 May 2007 17:22:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 May 2007 17:22:43 -0000 Received: (qmail 41513 invoked by uid 500); 29 May 2007 17:22:41 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 41460 invoked by uid 500); 29 May 2007 17:22:41 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 41391 invoked by uid 99); 29 May 2007 17:22:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 May 2007 10:22:40 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 May 2007 10:22:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CA2EC71417D for ; Tue, 29 May 2007 10:22:15 -0700 (PDT) Message-ID: <18815731.1180459335824.JavaMail.jira@brutus> Date: Tue, 29 May 2007 10:22:15 -0700 (PDT) From: "Marcel May (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-951) OracleFileSystem uses getClass().getResourceAsStream to load schema file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org OracleFileSystem uses getClass().getResourceAsStream to load schema file ------------------------------------------------------------------------ Key: JCR-951 URL: https://issues.apache.org/jira/browse/JCR-951 Project: Jackrabbit Issue Type: Improvement Components: core Affects Versions: 1.3.1 Reporter: Marcel May 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.