public class ProcedureCallMementoImpl extends java.lang.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(java.lang.String procedureName,
NativeSQLQueryReturn[] queryReturns,
ParameterStrategy parameterStrategy,
java.util.List<ProcedureCallMementoImpl.ParameterMemento> parameterDeclarations,
java.util.Set<java.lang.String> synchronizedQuerySpaces,
java.util.Map<java.lang.String,java.lang.Object> hintsMap)
Constructs a ProcedureCallImpl
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getHintsMap()
Access to any hints associated with the memento.
|
java.util.List<ProcedureCallMementoImpl.ParameterMemento> |
getParameterDeclarations() |
ParameterStrategy |
getParameterStrategy() |
java.lang.String |
getProcedureName() |
NativeSQLQueryReturn[] |
getQueryReturns() |
java.util.Set<java.lang.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, waitmakeProcedureCall, makeProcedureCallpublic ProcedureCallMementoImpl(java.lang.String procedureName,
NativeSQLQueryReturn[] queryReturns,
ParameterStrategy parameterStrategy,
java.util.List<ProcedureCallMementoImpl.ParameterMemento> parameterDeclarations,
java.util.Set<java.lang.String> synchronizedQuerySpaces,
java.util.Map<java.lang.String,java.lang.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)
ProcedureCallMementomakeProcedureCall in interface ProcedureCallMementosession - The session to connect the procedure call topublic java.lang.String getProcedureName()
public NativeSQLQueryReturn[] getQueryReturns()
public ParameterStrategy getParameterStrategy()
public java.util.List<ProcedureCallMementoImpl.ParameterMemento> getParameterDeclarations()
public java.util.Set<java.lang.String> getSynchronizedQuerySpaces()
public java.util.Map<java.lang.String,java.lang.Object> getHintsMap()
ProcedureCallMementogetHintsMap in interface ProcedureCallMementoCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.