code: public int[] batch(String sql, Object[][] paras, int batchSize) {
  		Connection conn = null;
  		Boolean autoCommit = null;
  		try {
  			conn = config.getConnection();
  			autoCommit = conn.getAutoCommit();
  			conn.setAutoCommit(false);
  			return batch(config, conn, sql, paras, batchSize);
  		} catch (Exception e) {
  			throw new ActiveRecordException(e);
  		} finally {
  			if (autoCommit != null)
  				try {conn.setAutoCommit(autoCommit);} catch (Exception e) {LogKit.error(e.getMessage(), e);}
  			config.close(conn);
  		}
  	}
docs: Execute a batch of SQL INSERT, UPDATE, or DELETE queries.
  <pre>
  Example:
  String sql = "insert into user(name, cash) values(?, ?)";
  int[] result = Db.use().batch(sql, new Object[][]{{"James", 888}, {"zhanjin", 888}});
  </pre>
  @param sql The SQL to execute.
  @param paras An array of query replacement parameters.  Each row in this array is one set of batch replacement values.
  @return The number of rows updated per statement