Package org.hibernate.procedure.internal
Class NamedCallableQueryMementoImpl
java.lang.Object
org.hibernate.query.named.AbstractNamedQueryMemento
org.hibernate.procedure.internal.NamedCallableQueryMementoImpl
- All Implemented Interfaces:
NamedCallableQueryMemento,NamedQueryMemento
public class NamedCallableQueryMementoImpl
extends AbstractNamedQueryMemento
implements NamedCallableQueryMemento
Implementation of NamedCallableQueryMemento
- Author:
- Steve Ebersole
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA "disconnected" copy of the metadata for a parameter, that can be used in ProcedureCallMementoImpl.Nested classes/interfaces inherited from class org.hibernate.query.named.AbstractNamedQueryMemento
AbstractNamedQueryMemento.AbstractBuilder<T extends AbstractNamedQueryMemento.AbstractBuilder>Nested classes/interfaces inherited from interface org.hibernate.procedure.spi.NamedCallableQueryMemento
NamedCallableQueryMemento.ParameterMementoNested 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.<T> QueryImplementor<T>toQuery(SharedSessionContractImplementor session) <T> ProcedureCallImplementor<T>toQuery(SharedSessionContractImplementor session, Class<T> javaType) voidvalidate(QueryEngine queryEngine) Methods inherited from class org.hibernate.query.named.AbstractNamedQueryMemento
getCacheable, getCacheMode, getCacheRegion, getComment, getFetchSize, getFlushMode, getHints, getReadOnly, getRegistrationName, getTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.procedure.spi.NamedCallableQueryMemento
makeProcedureCall, makeProcedureCallMethods inherited from interface org.hibernate.query.named.NamedQueryMemento
getCacheable, getCacheMode, getCacheRegion, getComment, getFetchSize, getFlushMode, getHints, 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:NamedCallableQueryMementoInformational access to the name of the database function or procedure- Specified by:
getCallableNamein interfaceNamedCallableQueryMemento
-
getParameterMementos
- Specified by:
getParameterMementosin interfaceNamedCallableQueryMemento
-
getParameterStrategy
- Specified by:
getParameterStrategyin interfaceNamedCallableQueryMemento
-
getResultSetMappingNames
- Specified by:
getResultSetMappingNamesin interfaceNamedCallableQueryMemento
-
getResultSetMappingClasses
- Specified by:
getResultSetMappingClassesin interfaceNamedCallableQueryMemento
-
getQuerySpaces
- Specified by:
getQuerySpacesin interfaceNamedCallableQueryMemento
-
makeCopy
Description copied from interface:NamedQueryMementoMakes a copy of the memento using the specified registration name- Specified by:
makeCopyin interfaceNamedQueryMemento
-
validate
- Specified by:
validatein interfaceNamedQueryMemento
-