From user-return-71839-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Aug 4 08:27:49 2011 Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 713106E6A for ; Thu, 4 Aug 2011 08:27:49 +0000 (UTC) Received: (qmail 58024 invoked by uid 500); 4 Aug 2011 08:27:45 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 57721 invoked by uid 500); 4 Aug 2011 08:27:35 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 57709 invoked by uid 99); 4 Aug 2011 08:27:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 08:27:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.139.212.160] (HELO nm1.bullet.mail.bf1.yahoo.com) (98.139.212.160) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Aug 2011 08:27:21 +0000 Received: from [98.139.212.153] by nm1.bullet.mail.bf1.yahoo.com with NNFMP; 04 Aug 2011 08:27:00 -0000 Received: from [98.139.212.243] by tm10.bullet.mail.bf1.yahoo.com with NNFMP; 04 Aug 2011 08:27:00 -0000 Received: from [127.0.0.1] by omp1052.mail.bf1.yahoo.com with NNFMP; 04 Aug 2011 08:27:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 465311.71534.bm@omp1052.mail.bf1.yahoo.com Received: (qmail 38068 invoked by uid 60001); 4 Aug 2011 08:27:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1312446420; bh=br/O6joYbMuquczx7/F7qqoRILrPsi2ZxYPleilF58U=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=IkjJVEtajUI6Wb4id5sBP5+dffVIBbrVQLgcKZCtZSi9T4BHdeXqziuKRaEPrSGSH+eYbGXQ8vr61tDJs0geiw+3EBYkHSXXSY0nWtNG7cNLL2obIKcIlQU5/19Rxz9El7g/s2evYR2xaMlffml+esELefPT37eZacXGia07MlU= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=39+PEbUwr2QG9C0lcHIvYWP/7Hb1//Kbm3L23Qva38SICq1xNmXLHcufePMV4coiTq9lo3K2VvAAhE46dvH+0vsel3UQDdBFAHUtoQ2haXSPUfYB/6QhhE2Mk39LwVfmjuf3KxWXz1zh+QboSdgd9i46gj4dRT9zmr8bC4crzTg=; X-YMail-OSG: H5Xb_sYVM1liMYBJUE_jvr9dGox2VfBuGuCs0rSvUfgCqPA _XgeVyAL9iY2ktc_3y7eVO1L5arEC_n1JKDisvYLGqkNZVA78wpOWjbpQN7B slah63uYk9h9Bjl2T9JSboSu.MCSVyf1N.yoiI8_3UPKYqf3sBEOLArnodvU 0K56v1ta5ZqJZK3VNSONeFwh0MCmmQ6Y6xHhoBH2kAG7PItyzqVjlWoP4qJO dSGmNz97nmuPm88D3JUCn0jvbVbypkeYdp85t8fk0zdzCSHKr6lz.Pv0Uvfw DcScmTeYmHronWwcsegFWXLWeuBIjmXIAHexnn71I3VSgiiTdJGfB_W4E6oM hXBjT9ArMwugKZ7nsLY2nsP.umBbpeCloPB7ApCR6H3drbEDn4a0hWhJT7S0 OUZIubEwZj1erA8Yc348YkYNDIpLMXEVQ5w_zbTSbsKwmhdmYTFVrsVGaI6L jzqXtixUq1vjwjRX76NZtMJVuOo2NXdaZGxkvsdP4orQERlsmO3o65KeQ7Xw cvl0eLKYeYGLEcgn8CBwES4JymrUoqv4V31NDlqtD1kGDCiT8.8.oFnqnbR_ cgsxoTcrdBEA6M3vG1jvx3ctsZBpDR7eDi7li Received: from [80.78.0.134] by web160614.mail.bf1.yahoo.com via HTTP; Thu, 04 Aug 2011 01:27:00 PDT X-Mailer: YahooMailWebService/0.8.113.313619 Message-ID: <1312446420.38065.YahooMailNeo@web160614.mail.bf1.yahoo.com> Date: Thu, 4 Aug 2011 01:27:00 -0700 (PDT) From: Miras Bastien Reply-To: Miras Bastien Subject: Sql task and rowcountproperty To: "user@ant.apache.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1892531449-1312446420=:38065" X-Virus-Checked: Checked by ClamAV on apache.org --0-1892531449-1312446420=:38065 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello,=0A=0AI'm trying to use the rowcountproperty parameter in the sql tas= k.=0A=0AMy ant code looks like:=0A=0A=A0=A0=A0 =A0=A0=A0= =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 select * from t_product;= =0A=0ABut the db.data.nbLine property is not updated.=0A=0ALooking at= :=0Ahttp://javasourcecode.org/html/open-source/ant/ant-1.8.1/org/apache/too= ls/ant/taskdefs/SQLExec.java.html#line.797=0A=0Ait seems rowcountproperty g= ive a count of updated rows only.=0AIs it the feature expected?=0AIn this c= ase, how can I get the row number using a SELECT statement?=0A=0Athanks,=0A= Bastien --0-1892531449-1312446420=:38065--