public interface ReturningWork<T>
Work
but returning a result.Modifier and Type | Method and Description |
---|---|
T |
execute(Connection connection)
Execute the discrete work encapsulated by this work instance using the supplied connection.
|
T execute(Connection connection) throws SQLException
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 © 2019 JBoss by Red Hat. All rights reserved.