Top Fields Constructors Methods
org.hibernate.hql.internal.classic

public Class PositionalParameterInformationImpl

extends AbstractParameterInformation
implements PositionalParameterInformation
Class Inheritance
All Implemented Interfaces
org.hibernate.hql.spi.PositionalParameterInformation, org.hibernate.hql.spi.ParameterInformation
Imports
java.sql.PreparedStatement, .SQLException, org.hibernate.engine.spi.QueryParameters, .SharedSessionContractImplementor, .TypedValue, org.hibernate.hql.spi.PositionalParameterInformation

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
bind(PreparedStatement
The statement into which the value should be bound.
statement
,
QueryParameters
The defined values for the current query execution.
qp
,
SharedSessionContractImplementor
The session against which the current execution is occuring.
session
,
int
The position from which to start binding value(s).
position
)

Implements org.hibernate.param.ParameterBinder.bind.

Bind the appropriate value into the given statement at the specified position.
public int
Inherited from org.hibernate.hql.internal.classic.AbstractParameterInformation:
addSourceLocationgetExpectedTypegetSourceLocationssetExpectedType

Field Detail

labelback to summary
private final int label

Constructor Detail

PositionalParameterInformationImplback to summary
public PositionalParameterInformationImpl(int label)

Method Detail

bindback to summary
public int bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position) throws SQLException

Implements org.hibernate.param.ParameterBinder.bind.

Doc from org.hibernate.param.ParameterBinder.bind.

Bind the appropriate value into the given statement at the specified position.

Parameters
statement:PreparedStatement

The statement into which the value should be bound.

qp:QueryParameters

The defined values for the current query execution.

session:SharedSessionContractImplementor

The session against which the current execution is occuring.

position:int

The position from which to start binding value(s).

Returns:int

The number of sql bind positions "eaten" by this bind operation.

Annotations
@Override
Exceptions
SQLException:
Indicates problems performing the JDBC bind operation.
getLabelback to summary
public int getLabel()

Implements org.hibernate.hql.spi.PositionalParameterInformation.getLabel.

Annotations
@Override