Here you can find the source of fillArgs(Object[][] args, PreparedStatement pstmt, int i)
private static void fillArgs(Object[][] args, PreparedStatement pstmt, int i) throws SQLException
//package com.java2s; //License from project: Apache License import java.sql.PreparedStatement; import java.sql.SQLException; public class Main { private static void fillArgs(Object[][] args, PreparedStatement pstmt, int i) throws SQLException { if (args == null || args.length == 0) return; if (args[i] == null || args[i].length == 0) return; for (int j = 0; j < args[i].length; ++j) pstmt.setObject(j + 1, args[i][j]); }/* w w w .j a va2 s . c o m*/ }