public interface BatchHandler<T>
void handler(java.sql.PreparedStatement stmt,
T record,
int i)
throws java.sql.SQLException
stmt - jdbc PreparedStatement parameterIndex the first parameter is 1, the second is 2, ...
x the parameter valuerecord - 当前操作的变量i - 行索引java.sql.SQLException