You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by "Christoffer Hammarström (JIRA)" <ji...@apache.org> on 2005/08/24 18:52:08 UTC

[jira] Created: (DDLUTILS-5) I'm unable to specify that i don't want any sql drops generated with WriteSchemaSqlToFileCommand

I'm unable to specify that i don't want any sql drops generated with WriteSchemaSqlToFileCommand
------------------------------------------------------------------------------------------------

         Key: DDLUTILS-5
         URL: http://issues.apache.org/jira/browse/DDLUTILS-5
     Project: DdlUtils
        Type: Improvement
    Reporter: Christoffer Hammarström
 Assigned to: Thomas Dudziak 
    Priority: Trivial


When generating SQL DDL using Ant, i don't want any drop statements, but i'm unable to say so.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DDLUTILS-5) I'm unable to specify that i don't want any sql drops generated with WriteSchemaSqlToFileCommand

Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DDLUTILS-5?page=all ]

Thomas Dudziak updated DDLUTILS-5:
----------------------------------

    Component: Ant Tasks

> I'm unable to specify that i don't want any sql drops generated with WriteSchemaSqlToFileCommand
> ------------------------------------------------------------------------------------------------
>
>          Key: DDLUTILS-5
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-5
>      Project: DdlUtils
>         Type: Improvement

>   Components: Ant Tasks
>     Reporter: Christoffer Hammarström
>     Assignee: Thomas Dudziak
>     Priority: Trivial
>  Attachments: dodrops.patch
>
> When generating SQL DDL using Ant, i don't want any drop statements, but i'm unable to say so.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (DDLUTILS-5) I'm unable to specify that i don't want any sql drops generated with WriteSchemaSqlToFileCommand

Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DDLUTILS-5?page=all ]
     
Thomas Dudziak resolved DDLUTILS-5:
-----------------------------------

    Resolution: Fixed

I've applied your patch and added the same to the WriteSchemaToDatabaseCommand subtask,, though I've renamed the property to dropTablesFirst. 

> I'm unable to specify that i don't want any sql drops generated with WriteSchemaSqlToFileCommand
> ------------------------------------------------------------------------------------------------
>
>          Key: DDLUTILS-5
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-5
>      Project: DdlUtils
>         Type: Improvement
>     Reporter: Christoffer Hammarström
>     Assignee: Thomas Dudziak
>     Priority: Trivial
>  Attachments: dodrops.patch
>
> When generating SQL DDL using Ant, i don't want any drop statements, but i'm unable to say so.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DDLUTILS-5) I'm unable to specify that i don't want any sql drops generated with WriteSchemaSqlToFileCommand

Posted by "Christoffer Hammarström (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DDLUTILS-5?page=all ]

Christoffer Hammarström updated DDLUTILS-5:
-------------------------------------------

    Attachment: dodrops.patch

The attached patch adds a new property "doDrops" to WriteSchemaSqlToFileCommand. With this i can specify that i don't want any drop statements generated like so: 

<writeschemasqltofile outputfile="${tmp}/ddl.sql" databasetype="${db-target}" alterdatabase="false" dodrops="false"/>

> I'm unable to specify that i don't want any sql drops generated with WriteSchemaSqlToFileCommand
> ------------------------------------------------------------------------------------------------
>
>          Key: DDLUTILS-5
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-5
>      Project: DdlUtils
>         Type: Improvement
>     Reporter: Christoffer Hammarström
>     Assignee: Thomas Dudziak
>     Priority: Trivial
>  Attachments: dodrops.patch
>
> When generating SQL DDL using Ant, i don't want any drop statements, but i'm unable to say so.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira