Here you can find the source of setValueIndex(PreparedStatement stmt, int index, int valueIndex)
public static void setValueIndex(PreparedStatement stmt, int index, int valueIndex) throws SQLException
//package com.java2s; import java.sql.PreparedStatement; import java.sql.SQLException; public class Main { public static void setValueIndex(PreparedStatement stmt, int index, int valueIndex) throws SQLException { stmt.setInt(index, valueIndex);/* w w w .j a v a 2 s . c o m*/ } }