Package org.springframework.jdbc.core
Class BatchUpdateUtils
- java.lang.Object
- org.springframework.jdbc.core.BatchUpdateUtils
- Direct Known Subclasses:
NamedParameterBatchUpdateUtils
@Deprecated public abstract class BatchUpdateUtils extends Object
Deprecated.as of 5.1.3, not used byJdbcTemplate
anymoreGeneric utility methods for working with JDBC batch statements. Mainly for internal use within the framework.- Since:
- 3.0
- Author:
- Thomas Risberg, Juergen Hoeller
Constructor Summary
Constructors Constructor Description BatchUpdateUtils()
Deprecated.
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static int[]
executeBatchUpdate(String sql, List<Object[]> batchArgs, int[] columnTypes, JdbcOperations jdbcOperations)
Deprecated.protected static void
setStatementParameters(Object[] values, PreparedStatement ps, int[] columnTypes)
Deprecated.
Constructor Detail
BatchUpdateUtils
public BatchUpdateUtils()
Deprecated.
Method Detail
executeBatchUpdate
public static int[] executeBatchUpdate(String sql, List<Object[]> batchArgs, int[] columnTypes, JdbcOperations jdbcOperations)
Deprecated.
setStatementParameters
protected static void setStatementParameters(Object[] values, PreparedStatement ps, @Nullable int[] columnTypes) throws SQLException
Deprecated.- Throws:
SQLException