Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 647D097C2 for ; Tue, 10 Jul 2012 16:28:35 +0000 (UTC) Received: (qmail 90799 invoked by uid 500); 10 Jul 2012 16:28:34 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 90763 invoked by uid 500); 10 Jul 2012 16:28:34 -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 90754 invoked by uid 99); 10 Jul 2012 16:28:34 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 16:28:34 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 95C26142822 for ; Tue, 10 Jul 2012 16:28:34 +0000 (UTC) Date: Tue, 10 Jul 2012 16:28:34 +0000 (UTC) From: "Sascha Theves (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1560093876.28973.1341937714615.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (JCR-1180) DatabaseFileSystem and DatabasePersistenceManager don't allow choice of db schema MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410487#comment-13410487 ] Sascha Theves commented on JCR-1180: ------------------------------------ Can someone please increase the priority of this issue because it makes Jackrabbit unusable in scenarios where you have to use a db schema name. And can somebody tell me in which version this fix will be included? > DatabaseFileSystem and DatabasePersistenceManager don't allow choice of db schema > --------------------------------------------------------------------------------- > > Key: JCR-1180 > URL: https://issues.apache.org/jira/browse/JCR-1180 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Environment: All > Reporter: Kev Jackson > Assignee: Thomas Mueller > Priority: Minor > Attachments: DatabaseFileSystem.java, DatabasePersistenceManager.java, JCR-1180_2.2.7.patch, TablePrefix.patch, TablePrefix.patch, jackrabbit-core.patch, postgresql.ddl, postgresql.ddl > > > I have a need to store my repository objects under a different db schema than the default for the rdbms (I'm using postgresql, so in my case the default is 'public') > The current implementation of the DatabasePersistenceManager and DatabaseFileSystem do not support changing the schema. > Problems: > - schemaObjectPrefix allows the user to add a table prefix, but you cannot use this to set a schema ie .table, as the . is stripped out and replaced with an escaped version > - schema param currently refers to a ddl resource, not what people would naturally think is the param to set the schema for the repository > Fix: > - rename the current schema -> schemaDDL > - add an optional schema param which allows the user to select which schema they want to use > - improve error messages so that when an incorrect schemaDDL is chosen the user doesn't have to dig through nabble etc to find an answer -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira