Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-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 2D99DD3FD for ; Mon, 31 Dec 2012 13:30:20 +0000 (UTC) Received: (qmail 16552 invoked by uid 500); 31 Dec 2012 13:30:19 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 16284 invoked by uid 500); 31 Dec 2012 13:30:19 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 16096 invoked by uid 99); 31 Dec 2012 13:30:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2012 13:30:12 +0000 Date: Mon, 31 Dec 2012 13:30:12 +0000 (UTC) From: "Vitaly Lavrusevich (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OPENJPA-2314) SchemaTool : Cannot export definition of specific schema from Oracle DB 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/OPENJPA-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541367#comment-13541367 ] Vitaly Lavrusevich commented on OPENJPA-2314: --------------------------------------------- The changes that resolve the issues are listed below. I cannot supply a patch due to technical issues. File: org.apache.openjpa.jdbc.schema.SchemaGenerator Method: private static Object[][] parseSchemasList(DBIdentifier[] args) Change: adding || path.getType() == DBIdentifierType.SCHEMA) . . . // if just a schema name, map schema to null if ((DBIdentifier.isNull(table) || path.getType() == DBIdentifierType.SCHEMA) && !schemas.containsKey(schema)) { schemas.put(schema, null); } else if (!DBIdentifier.isNull(table)) { > SchemaTool : Cannot export definition of specific schema from Oracle DB > ----------------------------------------------------------------------- > > Key: OPENJPA-2314 > URL: https://issues.apache.org/jira/browse/OPENJPA-2314 > Project: OpenJPA > Issue Type: Bug > Components: tooling > Affects Versions: 2.2.1 > Environment: Windows 7 > DB: Oracle 11.2 > Reporter: Vitaly Lavrusevich > Labels: patch > > Schema Tool outputs an empty list of tables when concrete schema is specified in command line parameters. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira