/** * Delegate method that executes the insert using the passed-in Map of parameters. * @param args a Map with parameter names and values to be used in insert * @return the number of rows affected */ protected int doExecute(Map<String, ?> args) { checkCompiled(); List<Object> values = matchInParameterValuesWithInsertColumns(args); return executeInsertInternal(values); }
/** * Delegate method that executes the insert using the passed-in {@link SqlParameterSource}. * @param parameterSource parameter names and values to be used in insert * @return the number of rows affected */ protected int doExecute(SqlParameterSource parameterSource) { checkCompiled(); List<Object> values = matchInParameterValuesWithInsertColumns(parameterSource); return executeInsertInternal(values); }
/** * Method that provides execution of the insert using the passed in {@link SqlParameterSource} * @param parameterSource parameter names and values to be used in insert * @return number of rows affected */ protected int doExecute(SqlParameterSource parameterSource) { checkCompiled(); List<Object> values = matchInParameterValuesWithInsertColumns(parameterSource); return executeInsertInternal(values); }
/** * Method that provides execution of the insert using the passed in Map of parameters * @param args Map with parameter names and values to be used in insert * @return number of rows affected */ protected int doExecute(Map<String, Object> args) { checkCompiled(); List<Object> values = matchInParameterValuesWithInsertColumns(args); return executeInsertInternal(values); }
/** * Delegate method that executes the insert using the passed-in {@link SqlParameterSource}. * @param parameterSource parameter names and values to be used in insert * @return the number of rows affected */ protected int doExecute(SqlParameterSource parameterSource) { checkCompiled(); List<Object> values = matchInParameterValuesWithInsertColumns(parameterSource); return executeInsertInternal(values); }