接口 ReturningWork<T>
-
- 所有已知实现类:
AbstractReturningWork
public interface ReturningWork<T>A discrete piece of work following the lines ofWorkbut returning a result.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Texecute(Connection connection)Execute the discrete work encapsulated by this work instance using the supplied connection.
-
-
-
方法详细资料
-
execute
T execute(Connection connection) throws SQLException
Execute the discrete work encapsulated by this work instance using the supplied connection.- 参数:
connection- The connection on which to perform the work.- 返回:
- The work result
- 抛出:
SQLException- Thrown during execution of the underlying JDBC interaction.HibernateException- Generally indicates a wrapped SQLException.
-
-