Example usage for org.springframework.jdbc.core BatchPreparedStatementSetter interface-usage

List of usage examples for org.springframework.jdbc.core BatchPreparedStatementSetter interface-usage

Introduction

In this page you can find the example usage for org.springframework.jdbc.core BatchPreparedStatementSetter interface-usage.

Usage

From source file com.recomdata.grails.rositaui.etl.dao.EtlBatchPreparedStatementSetter.java

public class EtlBatchPreparedStatementSetter<T> implements BatchPreparedStatementSetter {

    protected final List<T> items = new ArrayList<T>();
    protected int threshold = 5000;

    public EtlBatchPreparedStatementSetter(Integer threshold) {

From source file com.recomdata.grails.rositaui.etl.dao.ValidationErrorBatchPreparedStatementSetter.java

public class ValidationErrorBatchPreparedStatementSetter extends EtlBatchPreparedStatementSetter<ValidationError>
        implements BatchPreparedStatementSetter {

    public ValidationErrorBatchPreparedStatementSetter(Integer threshold) {
        super(threshold);
    }

From source file com.github.ferstl.spring.jdbc.oracle.TestBatchPreparedStatementSetter.java

public class TestBatchPreparedStatementSetter implements BatchPreparedStatementSetter, ParameterDisposer {

    private int[] parameters;

    public TestBatchPreparedStatementSetter(int numberOfRows) {
        this.parameters = new int[numberOfRows];