ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Blanc <Sebastien.Bl...@alcatel.com>
Subject Re: Ant Tasks for Oracle DB
Date Thu, 15 May 2003 15:14:22 GMT
Hi !
checkout the <sql> task. as long as u have the JDBC driver for your version
this should work alrite.
from manual:
<sql
         driver="org.database.jdbcDriver"
         url="jdbc:database-url"
         userid="sa"
         password="pass"
         src="data.sql"
         rdbms="oracle"
         version="8.1."
         >
     insert
     into table some_table
     values(1,2,3,4);

     truncate table some_other_table;
     </sql>
seb.

Shlomit Balas wrote:

> Hi all
>
> I'm using Ant tasks in my build process for sometime now .
> I also have DB I need to update in my build process , and till now I have
> been updating it by hand
> do u know if there are Ant tasks which works with Oracle DB ?
> do u know if by any chance ORACLE 9.2.0 is working with ANT ?
>
> thanks for ur answers in advance
> shlomit


Mime
View raw message