Package net.sf.basedb.core.hibernate
Class MultiUpdateWork
java.lang.Object
net.sf.basedb.core.hibernate.MultiUpdateWork
- All Implemented Interfaces:
Work
public class MultiUpdateWork extends Object implements Work
A JDBC Work implementation that executes multiple queries that
doesn't return any result.
- Version:
- 2.9
- Author:
- nicklas
- Last modified
- $Date: 2014-06-10 13:27:02 +0200 (ti, 10 jun 2014) $
-
Field Summary
Fields Modifier and Type Field Description private Collection<String>
statements
-
Constructor Summary
Constructors Constructor Description MultiUpdateWork(Collection<String> statements)
Create a new work item. -
Method Summary
Modifier and Type Method Description void
execute(Connection connection)
From the Work interface -----------------------
-
Field Details
-
statements
-
-
Constructor Details
-
MultiUpdateWork
Create a new work item.- Parameters:
statements
- The sql statements to execute
-
-
Method Details
-
execute
From the Work interface ------------------------ Specified by:
execute
in interfaceWork
- Throws:
SQLException
-