Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Oracle针对SQL或PL/SQL问题报告了多少不同的错误短语?_Oracle_Ant - Fatal编程技术网

Oracle针对SQL或PL/SQL问题报告了多少不同的错误短语?

Oracle针对SQL或PL/SQL问题报告了多少不同的错误短语?,oracle,ant,Oracle,Ant,我正在用Ant自动化脚本执行和问题检测。一旦将SQL提供给Oracle,我想对其进行错误语句筛选并中止。到目前为止,这就是我所拥有的可能性: <fail message="sql errors"> <condition> <or> <resourcecontains resource="/home/dacracot/repo/other/${sq

我正在用Ant自动化脚本执行和问题检测。一旦将SQL提供给Oracle,我想对其进行错误语句筛选并中止。到目前为止,这就是我所拥有的可能性:

    <fail message="sql errors">
        <condition>
            <or>
                <resourcecontains resource="/home/dacracot/repo/other/${sql.issue}.log" substring="LINE/COL ERROR" casesensitive="false"/>
                <resourcecontains resource="/home/dacracot/repo/other/${sql.issue}.log" substring="ERROR AT" casesensitive="false"/>
                <resourcecontains resource="/home/dacracot/repo/other/${sql.issue}.log" substring="ERROR STARTING AT" casesensitive="false"/>
                <resourcecontains resource="/home/dacracot/repo/other/${sql.issue}.log" substring="ERROR REPORT" casesensitive="false"/>
            </or>
        </condition>
    </fail>