Deprecated
as a consequence of AbstractProducedQuery and ProcedureCallImplementor being deprecated. See corresponding docs for further information.
org.hibernate.procedure.ProcedureCall
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private static final CoreMessageLogger | |
| private static final NativeSQLQueryReturn[] | |
| private ProcedureOutputsImpl | |
| private final ProcedureParamBindings | |
| private final ProcedureParameterMetadata | |
| private final String | |
| private ProcedureOutputs | |
| private final NativeSQLQueryReturn[] | |
| private Set |
| Access | Constructor and Description |
|---|---|
| public | ProcedureCallImpl(SharedSessionContractImplementor
The session session, String The name of the procedure to call procedureName)The no-returns form. |
| public | ProcedureCallImpl(final SharedSessionContractImplementor
The session session, String The name of the procedure to call procedureName, Class<T>... The classes making up the result resultClasses)The result Class(es) return form |
| public | ProcedureCallImpl(final SharedSessionContractImplementor
The session session, String The name of the procedure to call procedureName, String... The names of the result set mappings making up the result resultSetMappings)The result-set-mapping(s) return form |
| pack-priv | ProcedureCallImpl(SharedSessionContractImplementor
The session session, ProcedureCallMementoImpl The named/stored memento memento)The named/stored copy constructor |
| Modifier and Type | Method and Description |
|---|---|
| public ProcedureCallImplementor | addSynchronizedEntityClass(Class<T>
The class of the entity upon whose defined query spaces we should additionally synchronize. entityClass)Implements org.
Deprecated
as a consequence of
Adds an entity for (a) auto-flush checking and (b) query result cache invalidation checking.
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | addSynchronizedEntityName(String
The name of the entity upon whose defined query spaces we should additionally synchronize. entityName)Implements org.
Deprecated
as a consequence of
Adds an entity name for (a) auto-flush checking and (b) query result cache invalidation checking.
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | addSynchronizedQuerySpace(String
The query space to be auto-flushed for this query. querySpace)Implements org.
Deprecated
as a consequence of
Adds a query space.
ProcedureCallImplementor being deprecated.
|
| protected void | |
| private ProcedureOutputsImpl | |
| public ParameterRegistrationImplementor | Returns: The collected REF_CURSOR type parameters.Collects any parameter registrations which indicate a REF_CURSOR parameter type/mode. |
| public boolean | execute()
Implements javax. |
| public int | executeUpdate()
Overrides org. Implements javax. |
| public ProcedureCallMemento | extractMemento(Map<String, Object>
The hints to incorporate into the memento hints)Implements org. |
| public ProcedureCallMemento | extractMemento()
Implements org. |
| public LockModeType | getLockMode()
Overrides org. Implements javax. |
| public Object | getOutputParameterValue(int
parameter position position)Implements javax. |
| public Object | getOutputParameterValue(String
name of the parameter as registered or
specified in metadata parameterName)Implements javax. |
| public ProcedureOutputs | getOutputs()
Implements org. |
| public ProcedureParameterMetadata | getParameterMetadata()
Overrides org. Implements org. |
| public ParameterRegistrationImplementor | getParameterRegistration(int
The parameter position position)Implements org. |
| public ParameterRegistrationImplementor | getParameterRegistration(String
The parameter name name)Implements org. |
| public ParameterStrategy | |
| public String | getProcedureName()
Implements org. |
| public QueryParameterBindings | |
| public QueryParameters | |
| public NativeSQLQueryReturn[] | |
| public String | |
| public List | getRegisteredParameters()
Implements org. |
| public List | getResultList()
Overrides default org. |
| public Stream | getResultStream()
Overrides default javax. java.util.stream.Stream.
|
| public String[] | |
| public Type[] | getReturnTypes()
Implements org. |
| public SharedSessionContractImplementor | |
| public R | getSingleResult()
Overrides org. Overrides default org. |
| public String | |
| public Set | getSynchronizedQuerySpaces()
Implements org. |
| public int | getUpdateCount()
Implements javax. |
| public boolean | hasMoreResults()
Implements javax. |
| protected boolean | isNativeQuery()
Implements abstract org. |
| protected ProcedureOutputs | |
| public <T> ParameterRegistration | registerParameter(int
The position position, Class<T> The Java type of the parameter type, ParameterMode The parameter mode (in, out, inout) mode)Implements org. |
| private void | |
| public <T> ParameterRegistration | registerParameter(String
The parameter name name, Class<T> The Java type of the parameter type, ParameterMode The parameter mode (in, out, inout) mode)Implements org. |
| public ProcedureCall | registerParameter0(int
The position position, Class<T> The Java type of the parameter type, ParameterMode The parameter mode (in, out, inout) mode)Implements org.
Deprecated
as a consequence of
Chained form of ProcedureCall being deprecated.
registerParameter(int, Class, javax.
|
| public ProcedureCall | registerParameter0(String
The parameter name name, Class<T> The Java type of the parameter type, ParameterMode The parameter mode (in, out, inout) mode)Implements org.
Deprecated
as a consequence of
Chained form of ProcedureCall being deprecated.
registerParameter(String, Class, javax.
|
| public ProcedureCallImplementor | registerStoredProcedureParameter(int
parameter position position, Class<T> type of the parameter type, ParameterMode parameter mode mode)Implements org.
Deprecated
as a consequence of
Register a positional parameter.
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | registerStoredProcedureParameter(String
name of the parameter as registered or
specified in metadata parameterName, Class<T> type of the parameter type, ParameterMode parameter mode mode)Implements org.
Deprecated
as a consequence of
Register a named parameter.
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | setEntity(int
the position of the parameter in the query
string, numbered from 0. position, Object a non-null instance of a persistent class val)Implements org.
Deprecated
as a consequence of
Bind an instance of a mapped persistent class to a JDBC-style query parameter.
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | setEntity(String
the name of the parameter name, Object a non-null instance of a persistent class val)Implements org.
Deprecated
as a consequence of
Bind an instance of a mapped persistent class to a named query parameter.
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | setFlushMode(FlushModeType
flush mode flushModeType)Overrides org. Implements org.
Deprecated
as a consequence of
Set the flush mode type to be used for the query execution.
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | setHint(String
name of the property or hint hintName, Object value for the property or hint value)Overrides org. Implements org.
Deprecated
as a consequence of
Set a query property or hint.
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | setLockMode(LockModeType
lock mode lockMode)Overrides org. Implements javax.
Deprecated
as a consequence of
Set the lock mode type to be used for the query execution.
ProcedureCallImplementor being deprecated.
|
| public <P> ProcedureCallImplementor | setParameter(QueryParameter<P>
The query parameter memento parameter, P the possibly-null parameter value value)Overrides org. Implements org.
Deprecated
as a consequence of
Bind a query parameter using its inferred Type.
ProcedureCallImplementor being deprecated.
|
| public <P> ProcedureCallImplementor | setParameter(Parameter<P>
parameter object parameter, P parameter value value)Overrides org. Implements org.
Deprecated
as a consequence of
Bind the value of a ProcedureCallImplementor being deprecated.
Parameter object.
|
| public ProcedureCallImplementor | setParameter(String
parameter name name, Object parameter value value)Overrides org. Implements org.
Deprecated
as a consequence of
Bind an argument value to a named parameter.
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | setParameter(int
position position, Object parameter value value)Overrides org. Implements org.
Deprecated
as a consequence of
Bind an argument value to a positional parameter.
ProcedureCallImplementor being deprecated.
|
| public <P> ProcedureCallImplementor | setParameter(QueryParameter<P>
The query parameter memento parameter, P the possibly-null parameter value value, Type the Hibernate type type)Overrides org. Implements org.
Deprecated
as a consequence of
Bind a query parameter using the supplied Type
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | setParameter(String
the name of the parameter name, Object the possibly-null parameter value value, Type the Hibernate type type)Overrides org. Implements org.
Deprecated
as a consequence of
Bind a named query parameter using the supplied Type
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | setParameter(int
the position of the parameter in the query
string, numbered from 0. position, Object the possibly-null parameter value value, Type the Hibernate type type)Overrides org. Implements org.
Deprecated
as a consequence of
Bind a value to a JDBC-style query parameter.
ProcedureCallImplementor being deprecated.
|
| public <P> ProcedureCallImplementor | setParameter(QueryParameter<P>
The query parameter memento parameter, P the possibly-null parameter value value, TemporalType the temporal-type to use in binding the date/time temporalType)Overrides org. Implements org.
Deprecated
as a consequence of
Bind a query parameter as some form of date/time using the indicated
temporal-type.
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | setParameter(String
the parameter name name, Object the possibly-null parameter value value, TemporalType the temporal-type to use in binding the date/time temporalType)Overrides org. Implements org.
Deprecated
as a consequence of
Bind a named query parameter as some form of date/time using
the indicated temporal-type.
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | setParameter(int
the position of the parameter in the query
string, numbered from 0. position, Object the possibly-null parameter value value, TemporalType the temporal-type to use in binding the date/time temporalType)Overrides org. Implements org.
Deprecated
as a consequence of
Bind a positional query parameter as some form of date/time using
the indicated temporal-type.
ProcedureCallImplementor being deprecated.
|
| public ProcedureCallImplementor | setParameter(Parameter<T>
parameter object parameter, Calendar parameter value value, TemporalType temporal type temporalType)Overrides org. Implements org.
Deprecated
as a consequence of
Bind an instance of ProcedureCallImplementor being deprecated.
java.util.Calendar to a Parameter object.
|
| public ProcedureCallImplementor | setParameter(Parameter<T>
parameter object parameter, Date parameter value value, TemporalType temporal type temporalType)Overrides org. Implements org.
Deprecated
as a consequence of
Bind an instance of ProcedureCallImplementor being deprecated.
java.util.Date to a Parameter object.
|
| public ProcedureCallImplementor | setParameter(String
parameter name name, Calendar parameter value value, TemporalType temporal type temporalType)Overrides org. Implements org.
Deprecated
as a consequence of
Bind an instance of ProcedureCallImplementor being deprecated.
java.util.Calendar to a named parameter.
|
| public ProcedureCallImplementor | setParameter(String
parameter name name, Date parameter value value, TemporalType temporal type temporalType)Overrides org. Implements org.
Deprecated
as a consequence of
Bind an instance of ProcedureCallImplementor being deprecated.
java.util.Date to a named parameter.
|
| public ProcedureCallImplementor | setParameter(int
position position, Calendar parameter value value, TemporalType temporal type temporalType)Overrides org. Implements org.
Deprecated
as a consequence of
Bind an instance of ProcedureCallImplementor being deprecated.
java.util.Calendar to a positional
parameter.
|
| public ProcedureCallImplementor | setParameter(int
position position, Date parameter value value, TemporalType temporal type temporalType)Overrides org. Implements org.
Deprecated
as a consequence of
Bind an instance of ProcedureCallImplementor being deprecated.
java.util.Date to a positional parameter.
|
| protected Set | Returns: The spacesUse this form instead of |
| private static List | |
| public <T> T | unwrap(Class<T>
the class of the object to be returned. This is
normally either the underlying query
implementation class or an interface that it
implements. cls)Overrides org. Implements javax. |