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

public abstract Class AbstractParameterInformation

extends Object
implements ParameterInformation, ParameterBinder
Class Inheritance
All Implemented Interfaces
org.hibernate.param.ParameterBinder, org.hibernate.hql.spi.ParameterInformation
Known Direct Subclasses
org.hibernate.hql.internal.classic.NamedParameterInformationImpl, org.hibernate.hql.internal.classic.PositionalParameterInformationImpl
Imports
java.util.ArrayList, .List, org.hibernate.hql.spi.ParameterInformation, org.hibernate.internal.util.collections.ArrayHelper, org.hibernate.param.ParameterBinder, org.hibernate.type.Type

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private List<Integer>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public Type
public int[]
getSourceLocations()

Implements org.hibernate.hql.spi.ParameterInformation.getSourceLocations.

The positions (relative to all parameters) that this parameter was discovered in the source query (HQL, etc).
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

sqlPositionsback to summary
private List<Integer> sqlPositions

Constructor Detail

AbstractParameterInformationback to summary
public AbstractParameterInformation()

Method Detail

addSourceLocationback to summary
public void addSourceLocation(int position)

Implements org.hibernate.hql.spi.ParameterInformation.addSourceLocation.

getExpectedTypeback to summary
public Type getExpectedType()

Implements org.hibernate.hql.spi.ParameterInformation.getExpectedType.

Annotations
@Override
getSourceLocationsback to summary
public int[] getSourceLocations()

Implements org.hibernate.hql.spi.ParameterInformation.getSourceLocations.

Doc from org.hibernate.hql.spi.ParameterInformation.getSourceLocations.

The positions (relative to all parameters) that this parameter was discovered in the source query (HQL, etc). E.g., given a query like `.. where a.name = :name or a.nickName = :name` this would return `[0,1]`

Annotations
@Override
setExpectedTypeback to summary
public void setExpectedType(Type expectedType)

Implements org.hibernate.hql.spi.ParameterInformation.setExpectedType.

Annotations
@Override