Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 48234 invoked from network); 30 May 2006 19:02:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 May 2006 19:02:31 -0000 Received: (qmail 2102 invoked by uid 500); 30 May 2006 19:02:30 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 2084 invoked by uid 500); 30 May 2006 19:02:30 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 2072 invoked by uid 99); 30 May 2006 19:02:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 12:02:29 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jeffgbutler@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 12:02:29 -0700 Received: by nf-out-0910.google.com with SMTP id o60so512053nfa for ; Tue, 30 May 2006 12:02:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=lnNqUz9iLz4uZVd+J+zPCvWRPZICJ4+D+dL5uYinWmZYM38kqoom8/MJUXsRkDyFi1N8Xc58jQBDTXtUy3xlc47OyJlexSB/hphDaSDPCQrawcuaJ9XYtc8xT2aKQ4aUAEPShOhsAXKZxdsdC3WPNZuttAjOFjvncERnoF84AE4= Received: by 10.49.9.19 with SMTP id m19mr27374nfi; Tue, 30 May 2006 12:02:06 -0700 (PDT) Received: by 10.66.221.15 with HTTP; Tue, 30 May 2006 12:02:06 -0700 (PDT) Message-ID: Date: Tue, 30 May 2006 14:02:06 -0500 From: "Jeff Butler" To: user-java@ibatis.apache.org, rustystone@myway.com Subject: Re: public int executeBatch() In-Reply-To: <20060530183203.1A3A9467EB@mprdmxin.myway.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19796_26602954.1149015726829" References: <20060530183203.1A3A9467EB@mprdmxin.myway.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_19796_26602954.1149015726829 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Does the patch submitted in this JIRA ticket work for you? Jeff Butler On 5/30/06, rs wrote: > > > > It appears I'm not the only one who's having this issue. Someone even > submitted a patch: > http://issues.apache.org/jira/browse/IBATIS-159?page=all > > I believe the issue is an important one and would like to know the reasons > why this patch has not bee applied. Thanks > > > --- On Sun 05/28, rs < rustystone@myway.com > wrote: > public int executeBatch() > > I think executeBatch() functionality needs to be improved. It should be > something like public int[] executeBatch(int maxErrors). > > The batch execution would continue until maxErrors is reached. The > function would return: > 1) an array containing positions of the failed statements (preferred) > OR > 2) an array containing return codes (success/failure) for each exectuted > statement. > > Comments? Thanks > > > > > > _______________________________________________ > No banners. No pop-ups. No kidding. > Make My Way your home on the Web - http://www.myway.com > > > ------=_Part_19796_26602954.1149015726829 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Does the patch submitted in this JIRA ticket work for you?
 
Jeff Butler

 
On 5/30/06, rs <rustystone@myway.com> wrote:


It appears I'm not the only one who's having this issue. Someone even submitted a patch: http://issues.apache.org/jira/browse/IBATIS-159?page=all

I believe the issue is an important one and would like to know the reasons why this patch has not bee applied. Thanks


--- On Sun 05/28, rs < rustystone@myway.com > wrote:
public int executeBatch()

I think executeBatch() functionality needs to be improved. It should be something like public int[] executeBatch(int maxErrors).

The batch execution would continue until maxErrors is reached. The function would return:
1) an array containing positions of the failed statements (preferred)
OR
2) an array containing return codes (success/failure) for each exectuted statement.

Comments? Thanks





_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com



------=_Part_19796_26602954.1149015726829--