Comments on: Ant, Stored Procedures and dbms_output https://technology.amis.nl/2005/08/08/ant-and-stored-procedures-and-dbms_output/ Friends of Oracle and Java Tue, 05 May 2015 19:09:55 +0000 hourly 1 http://wordpress.org/?v=4.2.1 By: nagaraj mamedi https://technology.amis.nl/2005/08/08/ant-and-stored-procedures-and-dbms_output/#comment-2292 Fri, 06 Feb 2009 11:54:00 +0000 /?p=696#comment-2292 call mystoredprocedure();
/

–nagaraj mamedi

]]>
By: Christian https://technology.amis.nl/2005/08/08/ant-and-stored-procedures-and-dbms_output/#comment-2291 Tue, 29 Jul 2008 08:47:10 +0000 /?p=696#comment-2291 Hello!

Sry, i have resolve the problem.
When i done my ant sql task i must write print=”no”. Then it works as i needed.

Thanks!
Best regards

]]>
By: Christian https://technology.amis.nl/2005/08/08/ant-and-stored-procedures-and-dbms_output/#comment-2290 Tue, 29 Jul 2008 07:23:51 +0000 /?p=696#comment-2290 Hello,

thank for your good documentation. i have realized the third method. it works.
But there was one problem.

When i execute my stored procedure, it create my .xml file. But at the end of the outputfile, the procedure write a line with “0 rows affected” and so the .xml is not wellformed.

Why is that so and how can i resolve the problem? i want to delete the line.

Thank you for your help!

Best regards
Christian

]]>
By: Alexander Karnstedt https://technology.amis.nl/2005/08/08/ant-and-stored-procedures-and-dbms_output/#comment-2289 Mon, 10 Apr 2006 12:35:54 +0000 /?p=696#comment-2289 Incanto has a task for directly executing SQL*Plus. I’ve testet it with Oracle’s Instant Client and haven’t recognized any problems yet.

You can find the description of the task here:
http://incanto.sourceforge.net/usage-sqlplus.html

I wrote a small article about how to put the Instant Client to work:
http://mauszeig.wordpress.com/2006/04/10/jump-start-oic-incanto/

alex

]]>
By: Mukul Gupta https://technology.amis.nl/2005/08/08/ant-and-stored-procedures-and-dbms_output/#comment-2288 Wed, 08 Mar 2006 18:00:21 +0000 /?p=696#comment-2288 i need help to compile functions and procedures using ant in oracle 9i

]]>
By: Adym https://technology.amis.nl/2005/08/08/ant-and-stored-procedures-and-dbms_output/#comment-2287 Thu, 12 Jan 2006 19:00:34 +0000 /?p=696#comment-2287 Try again with the Ant XML stuff…Forgot to mention. I am using in the Ant :

<do-plsql
driver=”oracle.jdbc.driver.OracleDriver”
url=”jdbc:oracle:thin:@${sql.db.svr}:1521:${sql.db.sid}”
userid=”${sql.usr.server}”
password=”${sql.pwd.server}”
classpath=”./lib/ojdbc14.jar”
onerror=”abort”
delimiter=”/”
delimitertype=”row”>
<fileset dir=”${dir.sql.packages}/headers”>
<include name=”print_header.sql”/>
</fileset>
</do-plsql>

adym

]]>
By: Adym https://technology.amis.nl/2005/08/08/ant-and-stored-procedures-and-dbms_output/#comment-2286 Thu, 12 Jan 2006 18:43:16 +0000 /?p=696#comment-2286 Hi,
Trying to modify the source so that it will compile/run PL/SQL packages. The class I have will compile them, but if there are errors in the Oracle package, then they do not get displayed on the Ant console output.

Is there a way to get that output from Oracle and display it to the Ant console?

thx,

adym

]]>
By: Aino https://technology.amis.nl/2005/08/08/ant-and-stored-procedures-and-dbms_output/#comment-2285 Tue, 09 Aug 2005 14:08:32 +0000 /?p=696#comment-2285 I’ve added the source.

]]>
By: amihay gonen https://technology.amis.nl/2005/08/08/ant-and-stored-procedures-and-dbms_output/#comment-2284 Mon, 08 Aug 2005 19:20:47 +0000 /?p=696#comment-2284 can you provide a the source code of your class ?

]]>