public interface ProcedureCallImplementor<R> extends ProcedureCall, QueryImplementor<R>
Modifier and Type | Method and Description |
---|---|
ProcedureCallImplementor<R> |
registerStoredProcedureParameter(int position,
java.lang.Class type,
javax.persistence.ParameterMode mode) |
ProcedureCallImplementor<R> |
registerStoredProcedureParameter(java.lang.String parameterName,
java.lang.Class type,
javax.persistence.ParameterMode mode) |
ProcedureCallImplementor<R> |
setFlushMode(javax.persistence.FlushModeType flushMode) |
ProcedureCallImplementor<R> |
setHint(java.lang.String hintName,
java.lang.Object value) |
ProcedureCallImplementor<R> |
setParameter(int position,
java.util.Calendar value,
javax.persistence.TemporalType temporalType) |
ProcedureCallImplementor<R> |
setParameter(int position,
java.util.Date value,
javax.persistence.TemporalType temporalType) |
ProcedureCallImplementor<R> |
setParameter(int position,
java.lang.Object value)
Bind a positional query parameter using its inferred Type.
|
ProcedureCallImplementor<R> |
setParameter(javax.persistence.Parameter<java.util.Calendar> param,
java.util.Calendar value,
javax.persistence.TemporalType temporalType) |
ProcedureCallImplementor<R> |
setParameter(javax.persistence.Parameter<java.util.Date> param,
java.util.Date value,
javax.persistence.TemporalType temporalType) |
<T> ProcedureCallImplementor<R> |
setParameter(javax.persistence.Parameter<T> param,
T value) |
ProcedureCallImplementor<R> |
setParameter(java.lang.String name,
java.util.Calendar value,
javax.persistence.TemporalType temporalType) |
ProcedureCallImplementor<R> |
setParameter(java.lang.String name,
java.util.Date value,
javax.persistence.TemporalType temporalType) |
ProcedureCallImplementor<R> |
setParameter(java.lang.String name,
java.lang.Object value)
Bind a named query parameter using its inferred Type.
|
addSynchronizedEntityClass, addSynchronizedEntityName, addSynchronizedQuerySpace, extractMemento, extractMemento, getOutputs, getParameterRegistration, getParameterRegistration, getProcedureName, getRegisteredParameters, registerParameter, registerParameter, registerParameter0, registerParameter0
getSynchronizedQuerySpaces
execute, getOutputParameterValue, getOutputParameterValue, getUpdateCount, hasMoreResults
getProducer, setOptionalEntityName, setOptionalId, setOptionalObject
addQueryHint, getCacheMode, getCacheRegion, getComment, getFetchSize, getHibernateFlushMode, getLockOptions, getParameterMetadata, getQueryOptions, getQueryString, getResultList, getResultStream, getSingleResult, 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, getNamedParameters, getReturnAliases, iterate
ProcedureCallImplementor<R> setHint(java.lang.String hintName, java.lang.Object value)
setHint
in interface javax.persistence.Query
setHint
in interface javax.persistence.StoredProcedureQuery
setHint
in interface javax.persistence.TypedQuery<R>
<T> ProcedureCallImplementor<R> setParameter(javax.persistence.Parameter<T> param, T value)
setParameter
in interface javax.persistence.Query
setParameter
in interface javax.persistence.StoredProcedureQuery
setParameter
in interface javax.persistence.TypedQuery<R>
ProcedureCallImplementor<R> setParameter(javax.persistence.Parameter<java.util.Calendar> param, java.util.Calendar value, javax.persistence.TemporalType temporalType)
setParameter
in interface javax.persistence.Query
setParameter
in interface javax.persistence.StoredProcedureQuery
setParameter
in interface javax.persistence.TypedQuery<R>
ProcedureCallImplementor<R> setParameter(javax.persistence.Parameter<java.util.Date> param, java.util.Date value, javax.persistence.TemporalType temporalType)
setParameter
in interface javax.persistence.Query
setParameter
in interface javax.persistence.StoredProcedureQuery
setParameter
in interface javax.persistence.TypedQuery<R>
ProcedureCallImplementor<R> setParameter(java.lang.String name, java.lang.Object value)
Query
Query.setParameter(String, Object, Type)
should be used insteadsetParameter
in interface javax.persistence.Query
setParameter
in interface javax.persistence.StoredProcedureQuery
setParameter
in interface javax.persistence.TypedQuery<R>
name
- the parameter namevalue
- the (possibly-null) parameter valuethis
, for method chainingProcedureCallImplementor<R> setParameter(java.lang.String name, java.util.Calendar value, javax.persistence.TemporalType temporalType)
setParameter
in interface javax.persistence.Query
setParameter
in interface javax.persistence.StoredProcedureQuery
setParameter
in interface javax.persistence.TypedQuery<R>
ProcedureCallImplementor<R> setParameter(java.lang.String name, java.util.Date value, javax.persistence.TemporalType temporalType)
setParameter
in interface javax.persistence.Query
setParameter
in interface javax.persistence.StoredProcedureQuery
setParameter
in interface javax.persistence.TypedQuery<R>
ProcedureCallImplementor<R> setParameter(int position, java.lang.Object value)
Query
Query.setParameter(int, Object, Type)
should be used insteadsetParameter
in interface javax.persistence.Query
setParameter
in interface javax.persistence.StoredProcedureQuery
setParameter
in interface javax.persistence.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, java.util.Calendar value, javax.persistence.TemporalType temporalType)
setParameter
in interface javax.persistence.Query
setParameter
in interface javax.persistence.StoredProcedureQuery
setParameter
in interface javax.persistence.TypedQuery<R>
ProcedureCallImplementor<R> setParameter(int position, java.util.Date value, javax.persistence.TemporalType temporalType)
setParameter
in interface javax.persistence.Query
setParameter
in interface javax.persistence.StoredProcedureQuery
setParameter
in interface javax.persistence.TypedQuery<R>
ProcedureCallImplementor<R> setFlushMode(javax.persistence.FlushModeType flushMode)
setFlushMode
in interface javax.persistence.Query
setFlushMode
in interface javax.persistence.StoredProcedureQuery
setFlushMode
in interface javax.persistence.TypedQuery<R>
ProcedureCallImplementor<R> registerStoredProcedureParameter(int position, java.lang.Class type, javax.persistence.ParameterMode mode)
registerStoredProcedureParameter
in interface javax.persistence.StoredProcedureQuery
ProcedureCallImplementor<R> registerStoredProcedureParameter(java.lang.String parameterName, java.lang.Class type, javax.persistence.ParameterMode mode)
registerStoredProcedureParameter
in interface javax.persistence.StoredProcedureQuery
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.