Return-Path: X-Original-To: apmail-cayenne-commits-archive@www.apache.org Delivered-To: apmail-cayenne-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 91A506D3E for ; Mon, 25 Jul 2011 12:51:32 +0000 (UTC) Received: (qmail 33702 invoked by uid 500); 25 Jul 2011 12:51:32 -0000 Delivered-To: apmail-cayenne-commits-archive@cayenne.apache.org Received: (qmail 33622 invoked by uid 500); 25 Jul 2011 12:51:32 -0000 Mailing-List: contact commits-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list commits@cayenne.apache.org Received: (qmail 33607 invoked by uid 99); 25 Jul 2011 12:51:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2011 12:51:31 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Mon, 25 Jul 2011 12:51:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 03041841B3 for ; Mon, 25 Jul 2011 12:51:10 +0000 (UTC) Date: Mon, 25 Jul 2011 12:51:10 +0000 (UTC) From: "Dzmitry Kazimirchyk (JIRA)" To: commits@cayenne.apache.org Message-ID: <1496495921.3689.1311598270009.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1641729570.8733.1310531219846.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (CAY-1590) DDL generation without a live datasource 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/CAY-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dzmitry Kazimirchyk closed CAY-1590. ------------------------------------ Resolution: Fixed Fix Version/s: (was: Undefined future) 3.1M3 Assignee: Dzmitry Kazimirchyk Yes, since we need only db adapter to generate DDL it's not necessary to connect to a live datasource. Applied fix for this. Now you need only to specify adapter to view generated SQL or save it to file. > DDL generation without a live datasource > ---------------------------------------- > > Key: CAY-1590 > URL: https://issues.apache.org/jira/browse/CAY-1590 > Project: Cayenne > Issue Type: Improvement > Components: Modeler > Affects Versions: 3.0.2 > Environment: Windows 7 > Reporter: Frank Zhu > Assignee: Dzmitry Kazimirchyk > Priority: Minor > Fix For: 3.1M3 > > > Currently, DDL generation from the modeler needs to specify a datasource connecting to the database for generate the structure directly. > Is it possible just generate the DDL for a particular database without linking to a live datasource? > I also notice that there is an ant task cdbgen for this purpose, however this task seems to not able to create DDL without datasource either. > Any workaround will also be appreciated. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira