Package net.sf.basedb.core.hibernate
Class MultiUpdateWork
- java.lang.Object
-
- net.sf.basedb.core.hibernate.MultiUpdateWork
-
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Connection connection)
From the Work interface -----------------------
-
-
-
Field Detail
-
statements
private Collection<String> statements
-
-
Constructor Detail
-
MultiUpdateWork
public MultiUpdateWork(Collection<String> statements)
Create a new work item.- Parameters:
statements
- The sql statements to execute
-
-
Method Detail
-
execute
public void execute(Connection connection) throws SQLException
From the Work interface ------------------------ Specified by:
execute
in interfaceWork
- Throws:
SQLException
-
-