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 JdbcTemplate, Map<String, Object> extractReturnedResults(CallableStatement, List, List, int)

Extract returned ResultSets from the completed stored procedure. @param cs JDBC wrapper for the stored procedure @param updateCountParameters Parameter list of declared update count parameters for the stored procedure @param resultSetParameters Parameter list of declared resturn resultSet parameters for the stored procedure @return Map that contains returned results
Class JdbcTemplate, PreparedStatementSetter newArgPreparedStatementSetter(Object[])

Create a new ArgPreparedStatementSetter using the args passed in. This method allows the creation to be overridden by sub-classes. @param args object array wothwith arguments @return the new PreparedStatementSetter
Class JdbcTemplate, PreparedStatementSetter newArgTypePreparedStatementSetter(Object[], int[])

Create a new ArgTypePreparedStatementSetter using the args and argTypes passed in. This method allows the creation to be overridden by sub-classes. @param args object array wothwith arguments @param argTypes int array of SQLTypes for arguments @return the new PreparedStatementSetter
Class JdbcTemplate, void setSkipResultsProcessing(boolean)

Set whether results processing should be skipped. Can be used to optimize callable statement processing when we know that no results are being passed back - the processing of out parameter will still take place. This can be used to avoid a bug in some older Oracle JDBC drivers like 10.1.0.2.
Class JdbcTemplate, void setSkipUndeclaredResults(boolean)

Set whether undelaredundeclared results should be skipped.

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)

Class SqlRowSetResultSetExtractor

ResultSetExtractor implementation that returns a Spring SqlRowSet SqlRowSet representation for each given ResultSet.

The default implementation uses a standard JDBC CachedRowSet underneath. This means that JDBC RowSet support needs to be available at runtime: by default, Sun's com.sun.rowset.CachedRowSetImpl class on Java 5 and 6, or the javax.sql.rowset.RowSetProvider mechanism on Java 7 / JDBC 4.1. @author Juergen Hoeller @since 1.2 @see #newCachedRowSet @see org.springframework.jdbc.support.rowset.SqlRowSet @see JdbcTemplate#queryForRowSet(String) @see javax.sql.rowset.CachedRowSet

Class SqlRowSetResultSetExtractor, CachedRowSet newCachedRowSet()

Create a new CachedRowSet instance, to be populated by the createSqlRowSet implementation.

The default implementation creates auses JDBC new4.1's instanceRowSetProvider when running on JDK of 7 or higher, falling back to Sun'ss com.sun.rowset.CachedRowSetImpl class on older JDKs. @return a new CachedRowSet instance @throws SQLException if thrown by JDBC methods @see #createSqlRowSet @see com.sun.rowset.CachedRowSetImpl