|
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
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)