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 classA "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.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, String... resultSetMappingNames) Convert the memento back into an executable (connected) form.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, getResultType, 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
getResultType, makeProcedureCall, makeProcedureCallMethods 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: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<Object>
-
validate
- Specified by:
validatein interfaceNamedQueryMemento<Object>
-