public interface ReturningWork<T>
Work
but returning a result.Modifier and Type | Method and Description |
---|---|
T |
execute(java.sql.Connection connection)
Execute the discrete work encapsulated by this work instance using the supplied connection.
|
T execute(java.sql.Connection connection) throws java.sql.SQLException
connection
- The connection on which to perform the work.java.sql.SQLException
- Thrown during execution of the underlying JDBC interaction.HibernateException
- Generally indicates a wrapped SQLException.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.