You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Julius Stroffek (JIRA)" <ji...@apache.org> on 2012/04/27 19:54:49 UTC

[jira] [Commented] (DERBY-5731) It should be possible to start ij in a mode when it terminates in case of any error

    [ https://issues.apache.org/jira/browse/DERBY-5731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263836#comment-13263836 ] 

Julius Stroffek commented on DERBY-5731:
----------------------------------------

I ran into need of this feature and I have already found few posts where people were looking for this kind of stuff, e.g.
http://osdir.com/ml/apache.db.derby.user/2006-03/msg00131.html


I would suggest to have the property 'ij.exitOnError' and if that will be assigned to 'true' the method 'handleSQLException' in 'org.apache.derby.impl.tools.ij.utilMain' will throw 'ijFatalException'.
                
> It should be possible to start ij in a mode when it terminates in case of any error
> -----------------------------------------------------------------------------------
>
>                 Key: DERBY-5731
>                 URL: https://issues.apache.org/jira/browse/DERBY-5731
>             Project: Derby
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Julius Stroffek
>            Assignee: Julius Stroffek
>              Labels: ij
>
> It should be possible to determine from the exit status of ij whether the commands that were executed failed or not. This should not be the default behavior as it will break the compatibility.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira