类 PositionalParamBinder
- java.lang.Object
-
- org.hibernate.loader.custom.sql.PositionalParamBinder
-
- 所有已实现的接口:
ParameterBinder
public class PositionalParamBinder extends Object implements ParameterBinder
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 PositionalParamBinder(int label)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intbind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)Bind the appropriate value into the given statement at the specified position.
-
-
-
方法详细资料
-
bind
public int bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position) throws SQLException
从接口复制的说明:ParameterBinderBind the appropriate value into the given statement at the specified position.- 指定者:
bind在接口中ParameterBinder- 参数:
statement- The statement into which the value should be bound.qp- The defined values for the current query execution.session- The session against which the current execution is occuring.position- The position from which to start binding value(s).- 返回:
- The number of sql bind positions "eaten" by this bind operation.
- 抛出:
SQLException- Indicates problems performing the JDBC bind operation.
-
-