接口 Work
-
- 所有已知实现类:
AbstractWork
public interface WorkContract for performing a discrete piece of JDBC work.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidexecute(Connection connection)Execute the discrete work encapsulated by this work instance using the supplied connection.
-
-
-
方法详细资料
-
execute
void 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.- 抛出:
SQLException- Thrown during execution of the underlying JDBC interaction.HibernateException- Generally indicates a wrapped SQLException.
-
-