You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Frank Zhu (JIRA)" <ji...@apache.org> on 2011/07/13 06:26:59 UTC

[jira] [Created] (CAY-1590) DDL generation without a live datasource

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
            Priority: Minor
             Fix For: Undefined future


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

        

[jira] [Commented] (CAY-1590) DDL generation without a live datasource

Posted by "Dzmitry Kazimirchyk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAY-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078633#comment-13078633 ] 

Dzmitry Kazimirchyk commented on CAY-1590:
------------------------------------------

Well, I see no any difficulties with this. Just applied it for 3.0 branch.

> 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.0.3, 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

        

[jira] [Closed] (CAY-1590) DDL generation without a live datasource

Posted by "Dzmitry Kazimirchyk (JIRA)" <ji...@apache.org>.
     [ 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

        

Re: [jira] [Commented] (CAY-1590) DDL generation without a live datasource

Posted by Andrus Adamchik <an...@objectstyle.org>.
Cool. I suggest we go ahead with it then.

On Aug 3, 2011, at 10:27 AM, Dzmitry Kazimirchyk wrote:

> On 08/03/2011 09:51 AM, Andrus Adamchik wrote:
>> While this is kind of "new feature", since it only affects the Modeler flow, I have no objections for us to port it to 3.0 branch.
>> 
>> Dzmitry, do you think it is easily doable?
>> 
>> Thanks,
>> Andrus
> Yes, I think there must be no any difficulties with this. I can commit it to 3.0 branch right now if it's needed.
> 


Re: [jira] [Commented] (CAY-1590) DDL generation without a live datasource

Posted by Dzmitry Kazimirchyk <dk...@gmail.com>.
On 08/03/2011 09:51 AM, Andrus Adamchik wrote:
> While this is kind of "new feature", since it only affects the Modeler flow, I have no objections for us to port it to 3.0 branch.
>
> Dzmitry, do you think it is easily doable?
>
> Thanks,
> Andrus
Yes, I think there must be no any difficulties with this. I can commit 
it to 3.0 branch right now if it's needed.

Re: [jira] [Commented] (CAY-1590) DDL generation without a live datasource

Posted by Andrus Adamchik <an...@objectstyle.org>.
While this is kind of "new feature", since it only affects the Modeler flow, I have no objections for us to port it to 3.0 branch. 

Dzmitry, do you think it is easily doable? 

Thanks,
Andrus


On Aug 3, 2011, at 9:43 AM, Frank Zhu (JIRA) wrote:

> 
>    [ https://issues.apache.org/jira/browse/CAY-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078604#comment-13078604 ] 
> 
> Frank Zhu commented on CAY-1590:
> --------------------------------
> 
> Thanks guys. Just wondering if this improvement can be back-ported to 3.0.3 branch if possible?
> 
>> 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
> 
> 
> 


[jira] [Commented] (CAY-1590) DDL generation without a live datasource

Posted by "Frank Zhu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAY-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078604#comment-13078604 ] 

Frank Zhu commented on CAY-1590:
--------------------------------

Thanks guys. Just wondering if this improvement can be back-ported to 3.0.3 branch if possible?

> 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

        

[jira] [Commented] (CAY-1590) DDL generation without a live datasource

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAY-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064429#comment-13064429 ] 

Andrus Adamchik commented on CAY-1590:
--------------------------------------

yeah, it's a good one. The preemptive login dialog annoys me all the time.

> 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
>            Priority: Minor
>             Fix For: Undefined future
>
>
> 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

        

[jira] [Updated] (CAY-1590) DDL generation without a live datasource

Posted by "Dzmitry Kazimirchyk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dzmitry Kazimirchyk updated CAY-1590:
-------------------------------------

    Fix Version/s: 3.0.3

> 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.0.3, 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