Prevent instantiation of NamedParameterBatchUpdateUtils
In order to prevent instantiation of utility classes, this commit makes NamedParameterBatchUpdateUtils `abstract`. Issue: SPR-17215
This commit is contained in:
committed by
Sam Brannen
parent
7dba79c7c1
commit
1dac0df38b
@@ -30,7 +30,7 @@ import org.springframework.jdbc.core.JdbcOperations;
|
||||
* @author Thomas Risberg
|
||||
* @since 3.0
|
||||
*/
|
||||
public class NamedParameterBatchUpdateUtils extends BatchUpdateUtils {
|
||||
public abstract class NamedParameterBatchUpdateUtils extends BatchUpdateUtils {
|
||||
|
||||
public static int[] executeBatchUpdateWithNamedParameters(final ParsedSql parsedSql,
|
||||
final SqlParameterSource[] batchArgs, JdbcOperations jdbcOperations) {
|
||||
|
||||
Reference in New Issue
Block a user