Package org.hibernate.query.internal
Class QueryParameterNamedImpl<T>
- java.lang.Object
-
- org.hibernate.query.spi.AbstractQueryParameter<T>
-
- org.hibernate.query.internal.QueryParameterNamedImpl<T>
-
- All Implemented Interfaces:
Parameter<T>
,QueryParameter<T>
,QueryParameterImplementor<T>
public class QueryParameterNamedImpl<T> extends AbstractQueryParameter<T>
QueryParameter impl for named-parameters in HQL, JPQL or Criteria queries.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static <T> QueryParameterNamedImpl<T>
fromNativeQuery(String name)
static <T> QueryParameterNamedImpl<T>
fromSqm(SqmParameter<?> parameter)
Create a named parameter descriptor from the SQM parameterString
getName()
int
hashCode()
NamedQueryMemento.ParameterMemento
toMemento()
-
Methods inherited from class org.hibernate.query.spi.AbstractQueryParameter
allowsMultiValuedBinding, applyAnticipatedType, disallowMultiValuedBinding, getHibernateType, getParameterType, getPosition
-
-
-
-
Method Detail
-
fromSqm
public static <T> QueryParameterNamedImpl<T> fromSqm(SqmParameter<?> parameter)
Create a named parameter descriptor from the SQM parameter- Parameters:
parameter
- The source parameter info- Returns:
- The parameter descriptor
-
fromNativeQuery
public static <T> QueryParameterNamedImpl<T> fromNativeQuery(String name)
-
getName
public String getName()
-
toMemento
public NamedQueryMemento.ParameterMemento toMemento()
-
-