Bug 40139 - support for properties within SELECTs of SQL task
Summary: support for properties within SELECTs of SQL task
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.6.5
Hardware: Other other
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-30 10:57 UTC by Veit Guna
Modified: 2008-11-24 03:58 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Veit Guna 2006-07-30 10:57:22 UTC
It would be nice, if the SQL task would be able to automatically propagate
values from SELECTs to ant properties. Now, you have to write the output
to a file and parse it manually. That's a big overhead just to get the value for:
SELECT a from b where b.id = 1
Comment 1 Larry Shatzer 2006-07-31 15:59:56 UTC
One suggestion is to use <scriptdef> and talk to the JDBC layer, and set the
property from there.