Bug 40923

Summary: Patch for row count of results to be returned as property in SQL task
Product: Ant Reporter: Hunter Peress <hunterp>
Component: Core tasksAssignee: Ant Notifications List <notifications>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: PatchAvailable
Priority: P2    
Version: 1.6.5   
Target Milestone: 1.8.0   
Hardware: Other   
OS: other   
Attachments: Change to 1.6.5 SQLExec.java to add rowcountproperty

Description Hunter Peress 2006-11-07 17:46:01 UTC
Its very useful to know if your query returned any results. This patch to the
sql task allows this, and returns it in whatever property you supply via <sql
rowcountproperty="someprop"

This patch is optimized to work efficiently both when printing results and not
printing results
Comment 1 Hunter Peress 2006-11-07 17:46:34 UTC
Created attachment 19099 [details]
Change to 1.6.5 SQLExec.java to add rowcountproperty
Comment 2 Stefan Bodewig 2009-08-24 07:25:03 UTC
svn revision 807234