类 PositionalParameterInformationImpl
- java.lang.Object
-
- org.hibernate.hql.internal.classic.AbstractParameterInformation
-
- org.hibernate.hql.internal.classic.PositionalParameterInformationImpl
-
public class PositionalParameterInformationImpl extends AbstractParameterInformation implements PositionalParameterInformation
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 PositionalParameterInformationImpl(int label)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intbind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)Bind the appropriate value into the given statement at the specified position.intgetLabel()-
从类继承的方法 org.hibernate.hql.internal.classic.AbstractParameterInformation
addSourceLocation, getExpectedType, getSourceLocations, setExpectedType
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.hql.spi.ParameterInformation
addSourceLocation, getExpectedType, getSourceLocations, setExpectedType
-
-
-
-
方法详细资料
-
getLabel
public int getLabel()
- 指定者:
getLabel在接口中PositionalParameterInformation
-
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.
-
-