ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Boden <list...@pandora.be>
Subject Re: public int executeBatch()
Date Tue, 30 May 2006 20:02:05 GMT

Personally, because it would break stuff for some people currently using 
executeBatch.

Regards,
Sven

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
>
>
>
>
>  
>


Mime
View raw message