Modifier and Type | Field and Description |
---|---|
private Collection<String> |
statements |
Constructor and Description |
---|
MultiUpdateWork(Collection<String> statements)
Create a new work item.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(Connection connection)
From the Work interface
-----------------------
|
Object |
getResult()
Get the result of the work.
|
private Collection<String> statements
public MultiUpdateWork(Collection<String> statements)
statements
- The sql statements to executepublic void execute(Connection connection) throws SQLException
execute
in interface Work
SQLException