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

public Class NamedParameterInformationImpl

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

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
pack-priv

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 String
Inherited from org.hibernate.hql.internal.classic.AbstractParameterInformation:
addSourceLocationgetExpectedTypegetSourceLocationssetExpectedType

Field Detail

nameback to summary
private final String name

Constructor Detail

NamedParameterInformationImplback to summary
pack-priv NamedParameterInformationImpl(String name)

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.
getSourceNameback to summary
public String getSourceName()

Implements org.hibernate.hql.spi.NamedParameterInformation.getSourceName.

Annotations
@Override