protected void setParameters(List<Object> params, PreparedStatement statement) throws SQLException {
        int i = 1;
        for (Object value : params) {
            setObject(statement, i++, value);
        }
    }
protected void setParameters ( List < Object > params , PreparedStatement statement ) throws SQLException { int i = 1 ; for ( Object value : params ) { setObject ( statement , i ++ , value ) ; } }
Hook to allow derived classes to override behavior associated with
setting params for a prepared statement. Default behavior is to
append the parameters to the given statement using <code>setObject</code>.

@param params    the parameters to append
@param statement the statement
@throws SQLException if a database access error occurs