|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packageorg.springframework.jdbc.core
as colored differences. Deletions are shownlike 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.
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 @paramargTypes SQLbatchSizetypes ofbatch sizethe@paramargumentspss(constantsParameterizedPreparedStatementSetterfromtojava.sql.Types)use @return an array containing for each batch another array containing the numbers of rowsaffectedaffected by each update in the batch
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 declaredClass JdbcTemplate, PreparedStatementSetter newArgPreparedStatementSetter(Object[])resturnresultSet parameters for the stored procedure @return Map that contains returned results
Create a new ArgPreparedStatementSetter using the args passed in. This method allows the creation to be overridden by sub-classes. @param args object arrayClass JdbcTemplate, PreparedStatementSetter newArgTypePreparedStatementSetter(Object[], int[])wothwith arguments @return the new PreparedStatementSetter
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 arrayClass JdbcTemplate, void setSkipResultsProcessing(boolean)wothwith arguments @param argTypes int array of SQLTypes for arguments @return the new PreparedStatementSetter
Set whether results processing should be skipped.Class JdbcTemplate, void setSkipUndeclaredResults(boolean)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.
Set whetherundelaredundeclared results should be skipped.
Parameterized callback interface used by the JdbcTemplate class for batch updates.Class ParameterizedPreparedStatementSetter, void setValues(PreparedStatement, T)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.Collectionobjs, intbatchSize, ParameterizedPreparedStatementSetterpss)
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)
ResultSetExtractor implementation that returns a SpringClass SqlRowSetResultSetExtractor, CachedRowSet newCachedRowSet()SqlRowSetSqlRowSet 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 thejavax.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
Create a new CachedRowSet instance, to be populated by thecreateSqlRowSet
implementation.The default implementation
creates auses JDBCnew4.1'sinstanceRowSetProvider when running on JDK 7 or higher, falling backofto Sun'sscom.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.CachedRowSetImplcreateSqlRowSet