public interface WorkExecutorVisitable<T>
WorkExecutor
visitor
for executing a discrete piece of work, and return an implementation-defined
result.Modifier and Type | Method and Description |
---|---|
T |
accept(WorkExecutor<T> executor,
Connection connection)
Accepts a
WorkExecutor visitor for executing a discrete
piece of work, and returns an implementation-defined result.. |
T accept(WorkExecutor<T> executor, Connection connection) throws SQLException
WorkExecutor
visitor for executing a discrete
piece of work, and returns an implementation-defined result..executor
- The visitor that executes the work.connection
- The connection on which to perform the work.SQLException
- Thrown during execution of the underlying JDBC interaction.HibernateException
- Generally indicates a wrapped SQLException.Copyright © 2021 JBoss by Red Hat. All rights reserved.