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(Session session)
Convert the memento back into an executable (connected) form.
|
ProcedureCall |
makeProcedureCall(SessionImplementor session)
Convert the memento back into an executable (connected) form.
|
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(Session session)
ProcedureCallMemento
makeProcedureCall
in interface ProcedureCallMemento
session
- The session to connect the procedure call topublic ProcedureCall makeProcedureCall(SessionImplementor 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 © 2001-2017 Red Hat, Inc. All Rights Reserved.