ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: SQL task, how to retrieve values ?? how to iterate ??
Date Thu, 18 Oct 2001 06:07:18 GMT
On Wed, 17 Oct 2001, Joel Cordonnier <joelcordonnier@yahoo.fr> wrote:

> HOW TO assign retrived values to Ant properties ??

You can't, all you can do is to write the results to a file.  Maybe
you can rewrite your query in a way that makes the resulting file look
like a Java property file (never tried that) and load it with the
<property> task afterwards, but there is no built-in way.

The main purpose of the (current) <sql> task is to manipulate the
database.

Stefan

Mime
View raw message