ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rs" <rustyst...@myway.com>
Subject RE: public int executeBatch()
Date Tue, 30 May 2006 18:32:03 GMT

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

View raw message