Generated by
JDiff

org.springframework.jdbc.core Documentation Differences

This file contains all the changes in documentation in the package org.springframework.jdbc.core as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class JdbcOperations, int[][] batchUpdate(String, Collection<T>, int, ParameterizedPreparedStatementSetter<T>)

Execute multiple batches using the supplied SQL statement with the collect of supplied arguments. The arguments' values will be set using the ParameterizedPreparedStatementSetter. Each batch should be of size indicated in 'batchSize'. @param sql the SQL statement to execute. @param batchArgs the List of Object arrays containing the batch of arguments for the query @param argTypes SQLbatchSize types ofbatch size the@param arguments pss (constantsParameterizedPreparedStatementSetter fromto java.sql.Types) use @return an array containing for each batch another array containing the numbers of rows affected affected by each update in the batch

Class ParameterizedPreparedStatementSetter

Parameterized callback interface used by the JdbcTemplate class for batch updates.

This interface sets values on a java.sql.PreparedStatement provided by the JdbcTemplate class, for each of a number of updates in a batch using the same SQL. Implementations are responsible for setting any necessary parameters. SQL with placeholders will already have been supplied.

Implementations do not need to concern themselves with SQLExceptions that may be thrown from operations they attempt. The JdbcTemplate class will catch and handle SQLExceptions appropriately. @author Nicolas Fabre @author Thomas Risberg @since 3.1 @see JdbcTemplate#batchUpdate(String sql, java.util.Collection objs, int batchSize, ParameterizedPreparedStatementSetter pss)

Class ParameterizedPreparedStatementSetter, void setValues(PreparedStatement, T)

Set parameter values on the given PreparedStatement. @param ps the PreparedStatement to invoke setter methods on @param argument the object containing the values to be set @throws SQLException if a SQLException is encountered (i.e. there is no need to catch SQLException)