Return-Path: Delivered-To: apmail-incubator-empire-db-commits-archive@minotaur.apache.org Received: (qmail 46455 invoked from network); 8 Apr 2011 09:51:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2011 09:51:46 -0000 Received: (qmail 17598 invoked by uid 500); 8 Apr 2011 09:51:46 -0000 Delivered-To: apmail-incubator-empire-db-commits-archive@incubator.apache.org Received: (qmail 17572 invoked by uid 500); 8 Apr 2011 09:51:46 -0000 Mailing-List: contact empire-db-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: empire-db-dev@incubator.apache.org Delivered-To: mailing list empire-db-commits@incubator.apache.org Received: (qmail 17561 invoked by uid 99); 8 Apr 2011 09:51:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 09:51:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 09:51:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 00FCF98C48 for ; Fri, 8 Apr 2011 09:51:06 +0000 (UTC) Date: Fri, 8 Apr 2011 09:51:05 +0000 (UTC) From: "Francis De Brabandere (JIRA)" To: empire-db-commits@incubator.apache.org Message-ID: <2117132215.43422.1302256266000.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <422642766.43407.1302255665749.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (EMPIREDB-106) createDatabase should not try to create schemas in the DDL script if database name has not been set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/EMPIREDB-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017365#comment-13017365 ] Francis De Brabandere commented on EMPIREDB-106: ------------------------------------------------ Makes sense, somehow related to EMPIREDB-101 and EMPIREDB-104 > createDatabase should not try to create schemas in the DDL script if database name has not been set > --------------------------------------------------------------------------------------------------- > > Key: EMPIREDB-106 > URL: https://issues.apache.org/jira/browse/EMPIREDB-106 > Project: Empire-DB > Issue Type: Bug > Components: Core > Affects Versions: empire-db-2.1.0-incubating > Reporter: Eric Cournarie > Assignee: Francis De Brabandere > > Some drivers (MySQL and MSSQL) are trying to create the schema in the DDL. I think this is useless, as most of the time, the schema needs to be created to be able to access the database. > If the databaseName has not been set, the DDL should not contain create schema statement but just the create tables, relations and views. Other Empire drivers (Oracle for instance) are not doing schema creation in the DDL, not sure to > understand why this is done for MySQL and MS SQL Server. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira