Package org.hibernate.procedure.spi
Interface NamedCallableQueryMemento
-
- All Superinterfaces:
NamedQueryMemento
- All Known Implementing Classes:
NamedCallableQueryMementoImpl
@Incubating public interface NamedCallableQueryMemento extends NamedQueryMemento
Represents a "memento" (disconnected, externalizable form) of a ProcedureCall
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceNamedCallableQueryMemento.ParameterMemento
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetCallableName()Informational access to the name of the database function or procedureList<NamedCallableQueryMemento.ParameterMemento>getParameterMementos()ParameterStrategygetParameterStrategy()Set<String>getQuerySpaces()Class<?>[]getResultSetMappingClasses()String[]getResultSetMappingNames()default ProcedureCallmakeProcedureCall(SessionImplementor session)Convert the memento back into an executable (connected) form.ProcedureCallmakeProcedureCall(SharedSessionContractImplementor session)Convert the memento back into an executable (connected) form.ProcedureCallmakeProcedureCall(SharedSessionContractImplementor session, Class<?>... resultSetJavaTypes)Convert the memento back into an executable (connected) form.ProcedureCallmakeProcedureCall(SharedSessionContractImplementor session, String... resultSetMappingNames)Convert the memento back into an executable (connected) form.default ProcedureCallmakeProcedureCall(Session session)Convert the memento back into an executable (connected) form.-
Methods inherited from interface org.hibernate.query.named.NamedQueryMemento
getCacheable, getCacheMode, getCacheRegion, getComment, getFetchSize, getFlushMode, getHints, getReadOnly, getRegistrationName, getTimeout, makeCopy, toQuery, toQuery, validate
-
-
-
-
Method Detail
-
getCallableName
String getCallableName()
Informational access to the name of the database function or procedure
-
getParameterMementos
List<NamedCallableQueryMemento.ParameterMemento> getParameterMementos()
-
makeProcedureCall
default ProcedureCall makeProcedureCall(Session session)
Convert the memento back into an executable (connected) form.- Parameters:
session- The session to connect the procedure call to- Returns:
- The executable call
-
makeProcedureCall
default ProcedureCall makeProcedureCall(SessionImplementor session)
Convert the memento back into an executable (connected) form.- Parameters:
session- The session to connect the procedure call to- Returns:
- The executable call
-
getParameterStrategy
ParameterStrategy getParameterStrategy()
-
getResultSetMappingNames
String[] getResultSetMappingNames()
-
getResultSetMappingClasses
Class<?>[] getResultSetMappingClasses()
-
makeProcedureCall
ProcedureCall makeProcedureCall(SharedSessionContractImplementor session)
Convert the memento back into an executable (connected) form.- Parameters:
session- The session to connect the procedure call to- Returns:
- The executable call
-
makeProcedureCall
ProcedureCall makeProcedureCall(SharedSessionContractImplementor session, String... resultSetMappingNames)
Convert the memento back into an executable (connected) form.- Parameters:
session- The session to connect the procedure call to- Returns:
- The executable call
-
makeProcedureCall
ProcedureCall makeProcedureCall(SharedSessionContractImplementor session, Class<?>... resultSetJavaTypes)
Convert the memento back into an executable (connected) form.- Parameters:
session- The session to connect the procedure call to- Returns:
- The executable call
-
-