Package org.hibernate.procedure.internal
Class NamedCallableQueryMementoImpl
java.lang.Object
org.hibernate.query.named.AbstractNamedQueryMemento<Object>
org.hibernate.procedure.internal.NamedCallableQueryMementoImpl
- All Implemented Interfaces:
TypedQueryReference<Object>
,NamedCallableQueryMemento
,NamedQueryMemento<Object>
public class NamedCallableQueryMementoImpl
extends AbstractNamedQueryMemento<Object>
implements NamedCallableQueryMemento
Implementation of NamedCallableQueryMemento
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A "disconnected" copy of the metadata for a parameter, that can be used in ProcedureCallMementoImpl.Nested classes/interfaces inherited from interface org.hibernate.procedure.spi.NamedCallableQueryMemento
NamedCallableQueryMemento.ParameterMemento
Nested classes/interfaces inherited from interface org.hibernate.query.named.NamedQueryMemento
NamedQueryMemento.ParameterMemento
-
Constructor Summary
ConstructorsConstructorDescriptionNamedCallableQueryMementoImpl
(String name, String callableName, ParameterStrategy parameterStrategy, List<NamedCallableQueryMemento.ParameterMemento> parameterMementos, String[] resultSetMappingNames, Class<?>[] resultSetMappingClasses, Set<String> querySpaces, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, Integer timeout, Integer fetchSize, String comment, Map<String, Object> hints) Constructs a ProcedureCallImpl -
Method Summary
Modifier and TypeMethodDescriptionInformational access to the name of the database function or procedureClass<?>[]
String[]
Makes a copy of the memento using the specified registration nameConvert the memento back into an executable (connected) form.makeProcedureCall
(SharedSessionContractImplementor session, Class<?>... resultSetJavaTypes) Convert the memento back into an executable (connected) form.makeProcedureCall
(SharedSessionContractImplementor session, String... resultSetMappingNames) Convert the memento back into an executable (connected) form.toQuery
(SharedSessionContractImplementor session) <T> ProcedureCallImplementor<T>
toQuery
(SharedSessionContractImplementor session, Class<T> javaType) void
validate
(QueryEngine queryEngine) Methods inherited from class org.hibernate.query.named.AbstractNamedQueryMemento
getCacheable, getCacheMode, getCacheRegion, getComment, getFetchSize, getFlushMode, getHints, getReadOnly, getRegistrationName, getResultType, getTimeout
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.procedure.spi.NamedCallableQueryMemento
getResultType, makeProcedureCall, makeProcedureCall
Methods inherited from interface org.hibernate.query.named.NamedQueryMemento
getCacheable, getCacheMode, getCacheRegion, getComment, getFetchSize, getFlushMode, getHints, getName, getReadOnly, getRegistrationName, getTimeout
-
Constructor Details
-
NamedCallableQueryMementoImpl
public NamedCallableQueryMementoImpl(String name, String callableName, ParameterStrategy parameterStrategy, List<NamedCallableQueryMemento.ParameterMemento> parameterMementos, String[] resultSetMappingNames, Class<?>[] resultSetMappingClasses, Set<String> querySpaces, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, Integer timeout, Integer fetchSize, String comment, Map<String, Object> hints) Constructs a ProcedureCallImpl
-
-
Method Details
-
getCallableName
Description copied from interface:NamedCallableQueryMemento
Informational access to the name of the database function or procedure- Specified by:
getCallableName
in interfaceNamedCallableQueryMemento
-
getParameterMementos
- Specified by:
getParameterMementos
in interfaceNamedCallableQueryMemento
-
getParameterStrategy
- Specified by:
getParameterStrategy
in interfaceNamedCallableQueryMemento
-
getResultSetMappingNames
- Specified by:
getResultSetMappingNames
in interfaceNamedCallableQueryMemento
-
getResultSetMappingClasses
- Specified by:
getResultSetMappingClasses
in interfaceNamedCallableQueryMemento
-
getQuerySpaces
- Specified by:
getQuerySpaces
in interfaceNamedCallableQueryMemento
-
makeCopy
Description copied from interface:NamedQueryMemento
Makes a copy of the memento using the specified registration name- Specified by:
makeCopy
in interfaceNamedQueryMemento<Object>
-
validate
- Specified by:
validate
in interfaceNamedQueryMemento<Object>
-