Package org.hibernate.procedure.internal
Class NamedCallableQueryMementoImpl.ParameterMementoImpl
- java.lang.Object
-
- org.hibernate.procedure.internal.NamedCallableQueryMementoImpl.ParameterMementoImpl
-
- All Implemented Interfaces:
NamedCallableQueryMemento.ParameterMemento,NamedQueryMemento.ParameterMemento
- Enclosing class:
- NamedCallableQueryMementoImpl
public static class NamedCallableQueryMementoImpl.ParameterMementoImpl extends Object implements NamedCallableQueryMemento.ParameterMemento
A "disconnected" copy of the metadata for a parameter, that can be used in ProcedureCallMementoImpl.
-
-
Constructor Summary
Constructors Constructor Description ParameterMementoImpl(int position, String name, jakarta.persistence.ParameterMode mode, Class type, BindableType hibernateType)Create the memento
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NamedCallableQueryMementoImpl.ParameterMementoImplfromRegistration(ProcedureParameterImplementor registration)Build a ParameterMemento from the given parameter registrationBindableTypegetHibernateType()jakarta.persistence.ParameterModegetMode()StringgetName()IntegergetPosition()ClassgetType()ProcedureParameterImplementorresolve(SharedSessionContractImplementor session)
-
-
-
Constructor Detail
-
ParameterMementoImpl
public ParameterMementoImpl(int position, String name, jakarta.persistence.ParameterMode mode, Class type, BindableType hibernateType)Create the memento
-
-
Method Detail
-
getPosition
public Integer getPosition()
-
getName
public String getName()
-
getMode
public jakarta.persistence.ParameterMode getMode()
-
getType
public Class getType()
-
getHibernateType
public BindableType getHibernateType()
-
resolve
public ProcedureParameterImplementor resolve(SharedSessionContractImplementor session)
- Specified by:
resolvein interfaceNamedCallableQueryMemento.ParameterMemento- Specified by:
resolvein interfaceNamedQueryMemento.ParameterMemento
-
fromRegistration
public static NamedCallableQueryMementoImpl.ParameterMementoImpl fromRegistration(ProcedureParameterImplementor registration)
Build a ParameterMemento from the given parameter registration- Parameters:
registration- The parameter registration from a ProcedureCall- Returns:
- The memento
-
-