public class ProcedureCallMementoImpl extends Object implements ProcedureCallMemento
Modifier and Type | Class and Description |
---|---|
static class |
ProcedureCallMementoImpl.ParameterMemento
A "disconnected" copy of the metadata for a parameter, that can be used in ProcedureCallMementoImpl.
|
Constructor and Description |
---|
ProcedureCallMementoImpl(String procedureName,
NativeSQLQueryReturn[] queryReturns,
ParameterStrategy parameterStrategy,
List<ProcedureCallMementoImpl.ParameterMemento> parameterDeclarations,
Set<String> synchronizedQuerySpaces,
Map<String,Object> hintsMap)
Constructs a ProcedureCallImpl
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getHintsMap()
Access to any hints associated with the memento.
|
List<ProcedureCallMementoImpl.ParameterMemento> |
getParameterDeclarations() |
ParameterStrategy |
getParameterStrategy() |
String |
getProcedureName() |
NativeSQLQueryReturn[] |
getQueryReturns() |
Set<String> |
getSynchronizedQuerySpaces() |
ProcedureCall |
makeProcedureCall(SharedSessionContractImplementor session)
Convert the memento back into an executable (connected) form.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeProcedureCall, makeProcedureCall
public ProcedureCallMementoImpl(String procedureName, NativeSQLQueryReturn[] queryReturns, ParameterStrategy parameterStrategy, List<ProcedureCallMementoImpl.ParameterMemento> parameterDeclarations, Set<String> synchronizedQuerySpaces, Map<String,Object> hintsMap)
procedureName
- The name of the procedure to be calledqueryReturns
- The result mappingsparameterStrategy
- Are parameters named or positional?parameterDeclarations
- The parameters registrationssynchronizedQuerySpaces
- Any query spaces to synchronize on executionhintsMap
- Map of JPA query hintspublic ProcedureCall makeProcedureCall(SharedSessionContractImplementor session)
ProcedureCallMemento
makeProcedureCall
in interface ProcedureCallMemento
session
- The session to connect the procedure call topublic String getProcedureName()
public NativeSQLQueryReturn[] getQueryReturns()
public ParameterStrategy getParameterStrategy()
public List<ProcedureCallMementoImpl.ParameterMemento> getParameterDeclarations()
public Map<String,Object> getHintsMap()
ProcedureCallMemento
getHintsMap
in interface ProcedureCallMemento
Copyright © 2021 JBoss by Red Hat. All rights reserved.