3 * Copyright (C) 2010 Guillaume Cottenceau and MNC S.A.
5 * This file is part of sdbl4j, and is licensed under the Apache 2.0 license.
11 import java.sql.PreparedStatement;
13 public class BatchedUpdateHandle<T extends DBUpdateService> {
14 private PreparedStatement ps;
16 * This attribute is not used internally, but is meant to be used as a counter when performing a lot of
17 * updates, to flush the SQL request regularly, to optimize performance and memory footprint.
19 public int flushLimitCounter = 0;
20 public BatchedUpdateHandle( PreparedStatement ps ) {
23 public PreparedStatement getPreparedStatement() {