Package net.anwiba.commons.jdbc
Class BatchTransfer
- java.lang.Object
-
- net.anwiba.commons.jdbc.BatchTransfer
-
- All Implemented Interfaces:
IBatchTransfer
public class BatchTransfer extends java.lang.Object implements IBatchTransfer
-
-
Constructor Summary
Constructors Constructor Description BatchTransfer(java.sql.Connection connection, int numberOfIdentifiers, int numberOfColumns, java.lang.String selectExistsStatement, java.lang.String insertStatement, java.lang.String updateStatement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.Object... values)int[]transfer()
-
-
-
Method Detail
-
add
public void add(java.lang.Object... values)
- Specified by:
addin interfaceIBatchTransfer
-
transfer
public int[] transfer() throws java.sql.SQLException- Specified by:
transferin interfaceIBatchTransfer- Throws:
java.sql.SQLException
-
-