Deprecated
as a consequence of QueryImplementor being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private String | |
| private CacheRetrieveMode | |
| private CacheStoreMode | |
| private String | |
| private final List | |
| private EntityGraphQueryHint | |
| private FlushMode | |
| private LockOptions | |
| private static final Logger | |
| private static final EntityManagerMessageLogger | |
| private String | |
| private Serializable | |
| private Object | |
| private final ParameterMetadata | |
| private Boolean | |
| private final SharedSessionContractImplementor | |
| private RowSelection | |
| private Boolean | |
| private ResultTransformer | |
| private CacheMode | |
| private FlushMode |
| Access | Constructor and Description |
|---|---|
| public | AbstractProducedQuery(SharedSessionContractImplementor producer, ParameterMetadata parameterMetadata)
|
| Modifier and Type | Method and Description |
|---|---|
| public QueryImplementor | addQueryHint(String
The database specific query hint to add. hint)Implements org.
Deprecated
as a consequence of
Add a DB query hint to the SQL.
QueryImplementor being deprecated.
|
| protected void | |
| protected void | appendQueryPlanToQueryParameters(String hql, QueryParameters queryParameters, HQLQueryPlan queryPlan)
|
| protected void | applyAliasSpecificLockModeHint(String
The alias to apply the 'lockMode' to. alias, LockMode The LockMode to apply. lockMode)Apply the alias specific lock modes. |
| protected boolean | Returns: true if the hint was "applied"The value specified as hint isCacheable)Apply the cacheable (true/false) hint. |
| protected boolean | Returns: true if the hint was "applied"The CacheMode value specified as a hint. cacheMode)Apply the CacheMode hint. |
| protected boolean | Returns: true if the hint was "applied"The name of the cache region specified as a hint regionName)Apply the cache region hint |
| protected boolean | Returns: true if the hint was "applied"The comment specified as a hint comment)Apply the comment hint. |
| protected void | applyEntityGraphQueryHint(EntityGraphQueryHint
The entity graph hint object hint)
Deprecated
(5.4) Use
Used from HEM code as a (hopefully temporary) means to apply a custom query plan
in regards to a JPA entity graph.
applyGraph instead
|
| protected boolean | Returns: true if the hint was "applied"The fetch size specified as a hint fetchSize)Apply the fetch size hint |
| protected boolean | Returns: true if the hint was "applied"The FlushMode value specified as hint flushMode)Apply the FlushMode hint. |
| protected boolean | applyFollowOnLockingHint(Boolean
The follow-on-locking strategy. followOnLocking)Apply the follow-on-locking hint. |
| public Query | applyGraph(RootGraph<J>
The graph the apply. graph, GraphSemantic The semantic to use when applying the graph semantic)Implements org.
Deprecated
as a consequence of
Apply the given graph using the given semantic
Query being deprecated.
|
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | Returns: true if the hint was "applied"The timeout (in seconds!) specified as a hint timeout)Apply the lock timeout (in seconds!) hint |
| protected boolean | |
| protected boolean | applyPassDistinctThrough(boolean
the query passes passDistinctThrough)distinct to the databaseApply the follow-on-locking hint. |
| protected boolean | |
| protected boolean | Returns: true if the hint was "applied"The value specified as hint isReadOnly)Apply the read-only (true/false) hint. |
| protected boolean | Returns: true if the hint was "applied"The timeout (in seconds!) specified as a hint timeout)Apply the query timeout hint. |
| protected void | |
| protected boolean | Returns: true indicates they can be applied, false otherwise.Can alias-specific lock modes be applied? |
| protected void | |
| protected void | |
| public Type | determineProperBooleanType(String name, Object value, Type defaultType)
Implements org. |
| public Type | determineProperBooleanType(int position, Object value, Type defaultType)
Implements org. |
| protected Type | |
| protected int | |
| protected Iterator | |
| protected List | |
| protected ScrollableResultsImplementor | |
| public int | executeUpdate()
Implements javax. |
| public CacheMode | getCacheMode()
Implements org. |
| public String | getCacheRegion()
Implements org. isCacheable() for more information).
|
| public String | getComment()
Implements org. |
| protected ExceptionConverter | |
| public Integer | getFetchSize()
Implements org. |
| public int | getFirstResult()
Implements javax. |
| public FlushModeType | getFlushMode()
Implements javax. FlushModeType rather than Hibernate's FlushMode.
|
| public FlushMode | getHibernateFlushMode()
Implements org. |
| public Map | getHints()
Implements javax. |
| public LockModeType | getLockMode()
Implements javax. |
| public LockOptions | getLockOptions()
Implements org. |
| public int | getMaxResults()
Implements javax. |
| protected Map | |
| public String[] | getNamedParameters()
Implements org. |
| public QueryParameter | getParameter(String
parameter name name)Implements javax. |
| public <T> QueryParameter | getParameter(String
parameter name name, Class<T> type type)Implements javax. |
| public QueryParameter | getParameter(int
position position)Implements javax. |
| public <T> QueryParameter | getParameter(int
position position, Class<T> type type)Implements javax. |
| public ParameterMetadata | getParameterMetadata()
Implements org. |
| public Set | getParameters()
Implements javax. |
| public <T> T | getParameterValue(Parameter<T>
parameter object parameter)Implements javax. |
| public Object | getParameterValue(String
parameter name name)Implements javax. |
| public Object | getParameterValue(int
position position)Implements javax. |
| private Object | getParameterValue(QueryParameter<T> queryParameter, Function<QueryParameter<T>, IllegalStateException> notBoundParamenterException, BiFunction<QueryParameter<T>, QueryParameterException, IllegalArgumentException> couldNotResolveParameterException, BiConsumer<QueryParameter<T>, Boolean> boundCheckingLogger)
|
| protected Type[] | |
| protected Object[] | |
| public SharedSessionContractImplementor | getProducer()
Implements org. |
| public RowSelection | getQueryOptions()
Implements org. |
| protected abstract QueryParameterBindings | |
| public QueryParameters | |
| public R | getSingleResult()
Overrides default org. |
| public Set | |
| public Integer | getTimeout()
Implements org. |
| protected void | |
| public boolean | isBound(Parameter<?>
parameter object parameter)Implements javax. |
| public boolean | isCacheable()
Implements org. |
| protected boolean | |
| protected abstract boolean | Returns: true if it is a native query; false otherwiseIs the query represented here a native (SQL) query? |
| public boolean | isReadOnly()
Implements org. |
| private boolean | |
| protected boolean | |
| public Iterator | |
| public List | |
| private <P> QueryParameterBinding | |
| private <P> QueryParameterBinding | |
| private <P> QueryParameterBinding | |
| private QueryParameterListBinding | |
| protected QueryParameters | |
| protected void | |
| protected void | |
| protected String | |
| public ScrollableResultsImplementor | |
| public ScrollableResultsImplementor | scroll(ScrollMode
The scroll mode scrollMode)Implements org. |
| public QueryImplementor | setCacheable(boolean
Should the query results be cacheable? cacheable)Implements org.
Deprecated
as a consequence of
Enable/disable second level query (result) caching for this query.
QueryImplementor being deprecated.
|
| public QueryImplementor | setCacheMode(CacheMode
The new CacheMode to use. cacheMode)Implements org.
Deprecated
as a consequence of
(Re)set the current CacheMode in effect for this query.
QueryImplementor being deprecated.
|
| public QueryImplementor | setCacheRegion(String
the name of a query cache region, or cacheRegion)null to indicate that the default region
should be used.Implements org.
Deprecated
as a consequence of
Set the name of the cache region where query results should be cached (if cached at all).
QueryImplementor being deprecated.
|
| public QueryImplementor | setComment(String
The human-readable comment comment)Implements org.
Deprecated
as a consequence of
Set the comment for this query.
QueryImplementor being deprecated.
|
| public QueryImplementor | setFetchSize(int
the fetch size hint fetchSize)Implements org.
Deprecated
as a consequence of
Sets a JDBC fetch size hint for the query.
QueryImplementor being deprecated.
|
| public QueryImplementor | setFirstResult(int
position of the first result,
numbered from 0 startPosition)Implements org.
Deprecated
as a consequence of
Set the position of the first result to retrieve.
QueryImplementor being deprecated.
|
| public QueryImplementor | setFlushMode(FlushMode
The new FlushMode to use. flushMode)Overrides default org.
Deprecated
as a consequence of
(Re)set the current FlushMode in effect for this query.
QueryImplementor being deprecated.
|
| public QueryImplementor | setFlushMode(FlushModeType
flush mode flushModeType)Implements org.
Deprecated
as a consequence of
Set the flush mode type to be used for the query execution.
QueryImplementor being deprecated.
|
| public QueryImplementor | setHibernateFlushMode(FlushMode
The new FlushMode to use. flushMode)Implements org.
Deprecated
as a consequence of
(Re)set the current FlushMode in effect for this query.
QueryImplementor being deprecated.
|
| public QueryImplementor | setHint(String
name of property or hint hintName, Object value for the property or hint value)Implements org.
Deprecated
as a consequence of
Set a query property or hint.
QueryImplementor being deprecated.
|
| public QueryImplementor | setLockMode(String
a query alias, or alias, LockMode "this" for a collection filterThe lock mode to apply. lockMode)Implements org.
Deprecated
as a consequence of
Set the LockMode to use for specific alias (as defined in the query's FROM clause).
QueryImplementor being deprecated.
|
| public QueryImplementor | setLockMode(LockModeType
lock mode lockModeType)Implements org.
Deprecated
as a consequence of
Set the lock mode type to be used for the query execution.
QueryImplementor being deprecated.
|
| public QueryImplementor | setLockOptions(LockOptions
The lock options to apply to the query. lockOptions)Implements org.
Deprecated
as a consequence of
Set the lock options for the query.
QueryImplementor being deprecated.
|
| public QueryImplementor | setMaxResults(int
maximum number of results to retrieve maxResult)Implements org.
Deprecated
as a consequence of
Set the maximum number of results to retrieve.
QueryImplementor being deprecated.
|
| public void | setOptionalEntityName(String optionalEntityName)
Implements org. |
| public void | setOptionalId(Serializable optionalId)
Implements org. |
| public void | setOptionalObject(Object optionalObject)
Implements org. |
| public QueryImplementor | setParameter(Parameter<Instant> param, Instant value, TemporalType temporalType)
Implements org.
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(Parameter<LocalDateTime> param, LocalDateTime value, TemporalType temporalType)
Implements org.
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(Parameter<ZonedDateTime> param, ZonedDateTime value, TemporalType temporalType)
Implements org.
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(Parameter<OffsetDateTime> param, OffsetDateTime value, TemporalType temporalType)
Implements org.
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(String
the parameter name name, Instant the possibly-null parameter value value, TemporalType the temporal-type to use in binding the date/time temporalType)Implements org.
Deprecated
as a consequence of
Bind a named query parameter as some form of date/time using
the indicated temporal-type.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(String
the parameter name name, LocalDateTime the possibly-null parameter value value, TemporalType the temporal-type to use in binding the date/time temporalType)Implements org.
Deprecated
as a consequence of
Bind a named query parameter as some form of date/time using
the indicated temporal-type.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(String
the parameter name name, ZonedDateTime the possibly-null parameter value value, TemporalType the temporal-type to use in binding the date/time temporalType)Implements org.
Deprecated
as a consequence of
Bind a named query parameter as some form of date/time using
the indicated temporal-type.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(String
the parameter name name, OffsetDateTime the possibly-null parameter value value, TemporalType the temporal-type to use in binding the date/time temporalType)Implements org.
Deprecated
as a consequence of
Bind a named query parameter as some form of date/time using
the indicated temporal-type.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(int
the position of the parameter in the query
string, numbered from 0. position, Instant the possibly-null parameter value value, TemporalType the temporal-type to use in binding the date/time temporalType)Implements org.
Deprecated
as a consequence of
Bind a positional query parameter as some form of date/time using
the indicated temporal-type.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(int
the position of the parameter in the query
string, numbered from 0. position, LocalDateTime the possibly-null parameter value value, TemporalType the temporal-type to use in binding the date/time temporalType)Implements org.
Deprecated
as a consequence of
Bind a positional query parameter as some form of date/time using
the indicated temporal-type.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(int
the position of the parameter in the query
string, numbered from 0. position, ZonedDateTime the possibly-null parameter value value, TemporalType the temporal-type to use in binding the date/time temporalType)Implements org.
Deprecated
as a consequence of
Bind a positional query parameter as some form of date/time using
the indicated temporal-type.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(int
the position of the parameter in the query
string, numbered from 0. position, OffsetDateTime the possibly-null parameter value value, TemporalType the temporal-type to use in binding the date/time temporalType)Implements org.
Deprecated
as a consequence of
Bind a positional query parameter as some form of date/time using
the indicated temporal-type.
QueryImplementor being deprecated.
|
| public <P> QueryImplementor | setParameter(QueryParameter<P>
The query parameter memento parameter, P the possibly-null parameter value value)Implements org.
Deprecated
as a consequence of
Bind a query parameter using its inferred Type.
QueryImplementor being deprecated.
|
| public <P> QueryImplementor | setParameter(Parameter<P>
parameter object parameter, P parameter value value)Implements org.
Deprecated
as a consequence of
Bind the value of a QueryImplementor being deprecated.
Parameter object.
|
| private <P> void | |
| public QueryImplementor | setParameter(String
parameter name name, Object parameter value value)Implements org.
Deprecated
as a consequence of
Bind an argument value to a named parameter.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(int
position position, Object parameter value value)Implements org.
Deprecated
as a consequence of
Bind an argument value to a positional parameter.
QueryImplementor being deprecated.
|
| public <P> QueryImplementor | setParameter(QueryParameter<P>
The query parameter memento parameter, P the possibly-null parameter value value, Type the Hibernate type type)Implements org.
Deprecated
as a consequence of
Bind a query parameter using the supplied Type
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(String
the name of the parameter name, Object the possibly-null parameter value value, Type the Hibernate type type)Implements org.
Deprecated
as a consequence of
Bind a named query parameter using the supplied Type
QueryImplementor being deprecated.
|
| public QueryImplementor | 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)Implements org.
Deprecated
as a consequence of
Bind a value to a JDBC-style query parameter.
QueryImplementor being deprecated.
|
| public <P> QueryImplementor | 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)Implements org.
Deprecated
as a consequence of
Bind a query parameter as some form of date/time using the indicated
temporal-type.
QueryImplementor being deprecated.
|
| public QueryImplementor | 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)Implements org.
Deprecated
as a consequence of
Bind a named query parameter as some form of date/time using
the indicated temporal-type.
QueryImplementor being deprecated.
|
| public QueryImplementor | 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)Implements org.
Deprecated
as a consequence of
Bind a positional query parameter as some form of date/time using
the indicated temporal-type.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameter(Parameter<Calendar>
parameter object param, Calendar parameter value value, TemporalType temporal type temporalType)Implements org.
Deprecated
as a consequence of
Bind an instance of QueryImplementor being deprecated.
java.util.Calendar to a Parameter object.
|
| public QueryImplementor | setParameter(Parameter<Date>
parameter object param, Date parameter value value, TemporalType temporal type temporalType)Implements org.
Deprecated
as a consequence of
Bind an instance of QueryImplementor being deprecated.
java.util.Date to a Parameter object.
|
| public QueryImplementor | setParameter(String
parameter name name, Calendar parameter value value, TemporalType temporal type temporalType)Implements org.
Deprecated
as a consequence of
Bind an instance of QueryImplementor being deprecated.
java.util.Calendar to a named parameter.
|
| public QueryImplementor | setParameter(String
parameter name name, Date parameter value value, TemporalType temporal type temporalType)Implements org.
Deprecated
as a consequence of
Bind an instance of QueryImplementor being deprecated.
java.util.Date to a named parameter.
|
| public QueryImplementor | setParameter(int
position position, Calendar parameter value value, TemporalType temporal type temporalType)Implements org.
Deprecated
as a consequence of
Bind an instance of QueryImplementor being deprecated.
java.util.Calendar to a positional
parameter.
|
| public QueryImplementor | setParameter(int
position position, Date parameter value value, TemporalType temporal type temporalType)Implements org.
Deprecated
as a consequence of
Bind an instance of QueryImplementor being deprecated.
java.util.Date to a positional parameter.
|
| public <P> QueryImplementor | setParameterList(QueryParameter<P>
the parameter memento parameter, Collection<P> a collection of values to list values)Implements org.
Deprecated
as a consequence of
Bind multiple values to a query parameter using its inferred Type.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameterList(String
the name of the parameter name, Collection<E> a collection of values to list values)Implements org.
Deprecated
as a consequence of
Bind multiple values to a named query parameter.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameterList(int position, Collection<E> values)
Implements org.
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameterList(String
the name of the parameter name, Collection<E> a collection of values to list values, Type the Hibernate type of the values type)Implements org.
Deprecated
as a consequence of
Bind multiple values to a named query parameter.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameterList(int position, Collection<E> values, Type type)
Implements org.
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameterList(String
the name of the parameter name, Object[] a collection of values to list values, Type the Hibernate type of the values type)Implements org.
Deprecated
as a consequence of
Bind multiple values to a named query parameter.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameterList(int position, Object[] values, Type type)
Implements org.
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameterList(String
the name of the parameter name, Object[] a collection of values to list values)Implements org.
Deprecated
as a consequence of
Bind multiple values to a named query parameter.
QueryImplementor being deprecated.
|
| public QueryImplementor | setParameterList(int position, Object[] values)
Implements org.
Deprecated
as a consequence of
QueryImplementor being deprecated.
|
| public QueryImplementor | setProperties(Object
any JavaBean or POJO bean)Implements org.
Deprecated
as a consequence of
Bind the property values of the given bean to named parameters of the query,
matching property names with parameter names and mapping property types to
Hibernate types using heuristics.
QueryImplementor being deprecated.
|
| public QueryImplementor | setProperties(Map<K, V>
a java.util.Map map)Implements org.
Deprecated
as a consequence of
Bind the values of the given Map for each named parameters of the query,
matching key names with parameter names and mapping value types to
Hibernate types using heuristics.
QueryImplementor being deprecated.
|
| public QueryImplementor | setReadOnly(boolean
true indicates that entities and proxies loaded by the query
are to be put in read-only mode; false indicates that entities and proxies
loaded by the query will be put in modifiable modeImplements org.
Deprecated
as a consequence of
Set the read-only/modifiable mode for entities and proxies
loaded by this Query.
QueryImplementor being deprecated.
|
| public QueryImplementor | setResultTransformer(ResultTransformer
The transformer to apply transformer)Implements org.
Deprecated
as a consequence of
Set a strategy for handling the query results.
QueryImplementor being deprecated.
|
| public QueryImplementor | setTimeout(int
the timeout in seconds timeout)Implements org.
Deprecated
as a consequence of
Set the query timeout in seconds.
QueryImplementor being deprecated.
|
| public Stream | |
| public static <R> R | |
| public R | uniqueResult()
Implements org. null if the query returns no results.
|
| public Optional | |
| 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)Implements javax. |