Package org.hibernate.internal
Class QueryParameterBindingTypeResolverImpl
- java.lang.Object
-
- org.hibernate.internal.QueryParameterBindingTypeResolverImpl
-
- All Implemented Interfaces:
QueryParameterBindingTypeResolver
- Direct Known Subclasses:
MappingMetamodelImpl
,SessionFactoryImpl
public abstract class QueryParameterBindingTypeResolverImpl extends Object implements QueryParameterBindingTypeResolver
- Since:
- 6.2
- Implementation Note:
- This code was originally in
SessionFactoryImpl
, but has been factored out so that it can be shared byMappingMetamodelImpl
, which is where it really belongs, IMO. Eventually, we can kill off the subtyping relationship betweenSessionFactoryImpl
andQueryParameterBindingTypeResolver
, and then get rid of this class.
-
-
Constructor Summary
Constructors Constructor Description QueryParameterBindingTypeResolverImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> BindableType<T>
resolveParameterBindType(Class<T> javaType)
<T> BindableType<? super T>
resolveParameterBindType(T bindValue)
-
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.spi.QueryParameterBindingTypeResolver
getMappingMetamodel, getTypeConfiguration
-
-
-
-
Method Detail
-
resolveParameterBindType
public <T> BindableType<T> resolveParameterBindType(Class<T> javaType)
- Specified by:
resolveParameterBindType
in interfaceQueryParameterBindingTypeResolver
-
resolveParameterBindType
public <T> BindableType<? super T> resolveParameterBindType(T bindValue)
- Specified by:
resolveParameterBindType
in interfaceQueryParameterBindingTypeResolver
-
-