Constructors Constructor Description
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
accept(WorkExecutor<Void> executor, Connection connection)Accepts a
WorkExecutorvisitor for executing the discrete work encapsulated by this work instance using the supplied connection.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Void accept(WorkExecutor<Void> executor, Connection connection) throws SQLExceptionAccepts a
WorkExecutorvisitor for executing the discrete work encapsulated by this work instance using the supplied connection. Because
Workdoes not return a value when executed (via
Work.execute(Connection), this method always returns null.
- Specified by:
connection- The connection on which to perform the work.
executor- The visitor that executes the work.
SQLException- Thrown during execution of the underlying JDBC interaction.
HibernateException- Generally indicates a wrapped SQLException.