Searched refs:batch (Results 1 – 2 of 2) sorted by relevance
12 private ArrayList<String> batch; field in JDBCStatement18 this.batch = null; in JDBCStatement()177 if (batch == null) { in addBatch()178 batch = new ArrayList<String>(1); in addBatch()180 batch.add(sql); in addBatch()184 if (batch == null) { in executeBatch()187 int[] ret = new int[batch.size()]; in executeBatch()194 execute((String) batch.get(i)); in executeBatch()207 if (batch != null) { in clearBatch()208 batch.clear(); in clearBatch()[all …]
27 private ArrayList<BatchArg> batch; field in JDBCPreparedStatement35 this.batch = null;386 if (batch == null) {387 batch = new ArrayList<BatchArg>(args.length);390 batch.add(new BatchArg(args[i], blobs[i]));395 if (batch == null) {398 int[] ret = new int[batch.size() / args.length];406 BatchArg b = (BatchArg) batch.get(index++);424 if (batch != null) {425 batch.clear();[all …]