| Constructor and Description |
|---|
ParamBatchSQL(java.sql.Connection dc,
java.lang.String sql,
AttributeClass[] paramTypes)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParamBatch(java.lang.Object[] params)
Add a set of parameters.
|
void |
doRepair()
Perform the repair.
|
public ParamBatchSQL(java.sql.Connection dc,
java.lang.String sql,
AttributeClass[] paramTypes)
dc - Connection to the database.sql - The SQL with place holders.paramTypes - The parameter types.public void addParamBatch(java.lang.Object[] params)
throws java.lang.Exception
params - The parameters.java.lang.Exception - If the number of parameters doesn't match the # of parameter types given in the constructor, an exception will be thrown.