You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by rs <ru...@myway.com> on 2006/05/28 12:10:36 UTC
public int executeBatch()
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