类 QueryParameterNamedImpl<T>
- java.lang.Object
-
- org.hibernate.query.internal.QueryParameterImpl<T>
-
- org.hibernate.query.internal.QueryParameterNamedImpl<T>
-
- 所有已实现的接口:
javax.persistence.Parameter<T>,QueryParameter<T>
public class QueryParameterNamedImpl<T> extends QueryParameterImpl<T> implements QueryParameter<T>
Models a named query parameter NOTE: Unfortunately we need to model named and positional parameters separately still until 6.0 NOTE : Also, notice that this still treats JPA "positional" parameters as named. This will change in 6.0 as well after we remove support for legacy positional parameters (the JPA model is better there).- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 QueryParameterNamedImpl(String name, int[] sourceLocations, Type expectedType)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object o)StringgetName()IntegergetPosition()int[]getSourceLocations()inthashCode()-
从类继承的方法 org.hibernate.query.internal.QueryParameterImpl
getHibernateType, getParameterType, setHibernateType
-
从接口继承的方法 org.hibernate.query.QueryParameter
getHibernateType
-
-
-
-
方法详细资料
-
getSourceLocations
public int[] getSourceLocations()
- 指定者:
getSourceLocations在接口中QueryParameter<T>
-
-