Package org.hibernate.query.internal
Class AbstractQueryParameterImpl<T>
- java.lang.Object
-
- org.hibernate.query.internal.AbstractQueryParameterImpl<T>
-
- All Implemented Interfaces:
jakarta.persistence.Parameter<T>
,QueryParameter<T>
public abstract class AbstractQueryParameterImpl<T> extends Object implements QueryParameter<T>
QueryParameter implementation. NOTE: Unfortunately we need to model named and positional parameters separately still until 6.0. For now this is simply the base abstract class for those specific impls
-
-
Constructor Summary
Constructors Constructor Description AbstractQueryParameterImpl(BindableType<T> expectedType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BindableType<T>
getHibernateType()
Get the Hibernate Type associated with this parameter, if one.Class<T>
getParameterType()
void
setHibernateType(BindableType<?> expectedType)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.QueryParameter
allowsMultiValuedBinding
-
-
-
-
Constructor Detail
-
AbstractQueryParameterImpl
public AbstractQueryParameterImpl(BindableType<T> expectedType)
-
-
Method Detail
-
getHibernateType
public BindableType<T> getHibernateType()
Description copied from interface:QueryParameter
Get the Hibernate Type associated with this parameter, if one. May returnnull
.- Specified by:
getHibernateType
in interfaceQueryParameter<T>
- Returns:
- The associated Hibernate Type, may be
null
.
-
setHibernateType
public void setHibernateType(BindableType<?> expectedType)
-
-