类 ProcedureCallMementoImpl
- java.lang.Object
-
- org.hibernate.procedure.internal.ProcedureCallMementoImpl
-
- 所有已实现的接口:
ProcedureCallMemento
public class ProcedureCallMementoImpl extends Object implements ProcedureCallMemento
Implementation of ProcedureCallMemento- 作者:
- Steve Ebersole
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classProcedureCallMementoImpl.ParameterMementoA "disconnected" copy of the metadata for a parameter, that can be used in ProcedureCallMementoImpl.
-
构造器概要
构造器 构造器 说明 ProcedureCallMementoImpl(String procedureName, NativeSQLQueryReturn[] queryReturns, ParameterStrategy parameterStrategy, List<ProcedureCallMementoImpl.ParameterMemento> parameterDeclarations, Set<String> synchronizedQuerySpaces, Map<String,Object> hintsMap)Constructs a ProcedureCallImpl
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Map<String,Object>getHintsMap()Access to any hints associated with the memento.List<ProcedureCallMementoImpl.ParameterMemento>getParameterDeclarations()ParameterStrategygetParameterStrategy()StringgetProcedureName()NativeSQLQueryReturn[]getQueryReturns()Set<String>getSynchronizedQuerySpaces()ProcedureCallmakeProcedureCall(SharedSessionContractImplementor session)Convert the memento back into an executable (connected) form.-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.procedure.ProcedureCallMemento
makeProcedureCall, makeProcedureCall
-
-
-
-
构造器详细资料
-
ProcedureCallMementoImpl
public ProcedureCallMementoImpl(String procedureName, NativeSQLQueryReturn[] queryReturns, ParameterStrategy parameterStrategy, List<ProcedureCallMementoImpl.ParameterMemento> parameterDeclarations, Set<String> synchronizedQuerySpaces, Map<String,Object> hintsMap)
Constructs a ProcedureCallImpl- 参数:
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 hints
-
-
方法详细资料
-
makeProcedureCall
public ProcedureCall makeProcedureCall(SharedSessionContractImplementor session)
从接口复制的说明:ProcedureCallMementoConvert the memento back into an executable (connected) form.- 指定者:
makeProcedureCall在接口中ProcedureCallMemento- 参数:
session- The session to connect the procedure call to- 返回:
- The executable call
-
getProcedureName
public String getProcedureName()
-
getQueryReturns
public NativeSQLQueryReturn[] getQueryReturns()
-
getParameterStrategy
public ParameterStrategy getParameterStrategy()
-
getParameterDeclarations
public List<ProcedureCallMementoImpl.ParameterMemento> getParameterDeclarations()
-
getHintsMap
public Map<String,Object> getHintsMap()
从接口复制的说明:ProcedureCallMementoAccess to any hints associated with the memento. IMPL NOTE : exposed separately because only HEM needs access to this.- 指定者:
getHintsMap在接口中ProcedureCallMemento- 返回:
- The hints.
-
-