ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rs"<rustyst...@myway.com>
Subject public int executeBatch()
Date Sun, 28 May 2006 10:10:36 GMT

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