cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dzmitry Kazimirchyk (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-1590) DDL generation without a live datasource
Date Mon, 25 Jul 2011 12:51:10 GMT

     [ 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

        

Mime
View raw message