Issue Type: Improvement Improvement
Affects Versions: 1.5
Assignee: Unassigned
Created: 23/Jul/13 2:26 AM
Description:

Currently if a single error is met during an SQL script execution the plugin skips the rest SQL commands in the file. This behavior is "evil" for the use-case of performing "drop" DDL script.

Usually "drop" DDL script clean the database before executing "create" DDLs. It's ok if some DROPs fail because an entity doesn't exist, anyways the goal is to drop ALL entities mentioned in the script.

_onError_=continue doesn't help because, the database stays not cleaned and the "exec" DDLs fail in turn.

It would be very helpful to introduce an option to rule this behavior.
Maybe it could be the third option for <onError>. Let's say "continueScript" which acts as "continue" within executions plus within single script too.

Environment: PostgreSql
Project: Maven 2.x SQL Plugin
Priority: Major Major
Reporter: Scott Tiger
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to