public interface ProcedureCallImplementor<R> extends ProcedureCall, QueryImplementor<R>
addSynchronizedEntityClass, addSynchronizedEntityName, addSynchronizedQuerySpace, extractMemento, extractMemento, getOutputs, getParameterRegistration, getParameterRegistration, getProcedureName, getRegisteredParameters, registerParameter, registerParameter, registerParameter0, registerParameter0
addSynchronizedEntityClass, addSynchronizedEntityName, addSynchronizedQuerySpace, addSynchronizedTable, addSynchronizedTable, getSynchronizedQuerySpaces
execute, executeUpdate, getOutputParameterValue, getOutputParameterValue, getUpdateCount, hasMoreResults
getProducer, setOptionalEntityName, setOptionalId, setOptionalObject
addQueryHint, applyFetchGraph, applyGraph, applyLoadGraph, getCacheMode, getCacheRegion, getComment, getFetchSize, getHibernateFlushMode, getLockOptions, getParameterMetadata, getQueryString, getResultStream, list, scroll, scroll, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBinary, setBinary, setBoolean, setBoolean, setByte, setByte, setCacheable, setCacheMode, setCacheRegion, setCalendar, setCalendar, setCalendarDate, setCalendarDate, setCharacter, setCharacter, setComment, setDate, setDate, setDouble, setDouble, setEntity, setEntity, setFetchSize, setFirstResult, setFloat, setFloat, setFlushMode, setHibernateFlushMode, setInteger, setInteger, setLocale, setLocale, setLockMode, setLockMode, setLockOptions, setLong, setLong, setMaxResults, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameterList, setParameterList, setParameterList, setParameterList, setParameterList, setParameters, setProperties, setProperties, setReadOnly, setResultTransformer, setSerializable, setSerializable, setShort, setShort, setString, setString, setText, setText, setTime, setTime, setTimeout, setTimestamp, setTimestamp, stream, uniqueResult, uniqueResultOptional
determineProperBooleanType, determineProperBooleanType, getFlushMode, getHibernateFirstResult, getHibernateMaxResults, getNamedParameters, getQueryOptions, getReturnAliases, iterate, setHibernateFirstResult, setHibernateMaxResults, setParameterList, setParameterList, setParameterList, setParameterList
getFirstResult, getHints, getLockMode, getMaxResults, getParameter, getParameter, getParameter, getParameter, getParameters, getParameterValue, getParameterValue, getParameterValue, isBound, unwrap
default List<R> getResultList()
getResultList
in interface Query
getResultList
in interface StoredProcedureQuery
getResultList
in interface TypedQuery<R>
default R getSingleResult()
getSingleResult
in interface Query
getSingleResult
in interface StoredProcedureQuery
getSingleResult
in interface TypedQuery<R>
ProcedureCallImplementor<R> setHint(String hintName, Object value)
setHint
in interface Query
setHint
in interface StoredProcedureQuery
setHint
in interface TypedQuery<R>
<T> ProcedureCallImplementor<R> setParameter(Parameter<T> param, T value)
setParameter
in interface Query
setParameter
in interface StoredProcedureQuery
setParameter
in interface TypedQuery<R>
ProcedureCallImplementor<R> setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType)
setParameter
in interface Query
setParameter
in interface StoredProcedureQuery
setParameter
in interface TypedQuery<R>
ProcedureCallImplementor<R> setParameter(Parameter<Date> param, Date value, TemporalType temporalType)
setParameter
in interface Query
setParameter
in interface StoredProcedureQuery
setParameter
in interface TypedQuery<R>
ProcedureCallImplementor<R> setParameter(String name, Object value)
Query
Query.setParameter(String, Object, Type)
should be used insteadsetParameter
in interface Query
setParameter
in interface StoredProcedureQuery
setParameter
in interface TypedQuery<R>
name
- the parameter namevalue
- the (possibly-null) parameter valuethis
, for method chainingProcedureCallImplementor<R> setParameter(String name, Calendar value, TemporalType temporalType)
setParameter
in interface Query
setParameter
in interface StoredProcedureQuery
setParameter
in interface TypedQuery<R>
ProcedureCallImplementor<R> setParameter(String name, Date value, TemporalType temporalType)
setParameter
in interface Query
setParameter
in interface StoredProcedureQuery
setParameter
in interface TypedQuery<R>
ProcedureCallImplementor<R> setParameter(int position, Object value)
Query
Query.setParameter(int, Object, Type)
should be used insteadsetParameter
in interface Query
setParameter
in interface StoredProcedureQuery
setParameter
in interface TypedQuery<R>
position
- the position of the parameter in the query
string, numbered from 0.value
- the possibly-null parameter valuethis
, for method chainingProcedureCallImplementor<R> setParameter(int position, Calendar value, TemporalType temporalType)
setParameter
in interface Query
setParameter
in interface StoredProcedureQuery
setParameter
in interface TypedQuery<R>
ProcedureCallImplementor<R> setParameter(int position, Date value, TemporalType temporalType)
setParameter
in interface Query
setParameter
in interface StoredProcedureQuery
setParameter
in interface TypedQuery<R>
ProcedureCallImplementor<R> setFlushMode(FlushModeType flushMode)
setFlushMode
in interface Query
setFlushMode
in interface StoredProcedureQuery
setFlushMode
in interface TypedQuery<R>
ProcedureCallImplementor<R> registerStoredProcedureParameter(int position, Class type, ParameterMode mode)
registerStoredProcedureParameter
in interface StoredProcedureQuery
ProcedureCallImplementor<R> registerStoredProcedureParameter(String parameterName, Class type, ParameterMode mode)
registerStoredProcedureParameter
in interface StoredProcedureQuery
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.