Package | Description |
---|---|
org.hibernate.reactive.stage |
An API for Hibernate Reactive where non-blocking operations are
represented by a Java
CompletionStage . |
Modifier and Type | Method and Description |
---|---|
<R> Stage.Query<R> |
Stage.Session.createNamedQuery(String queryName)
Create an instance of
Stage.Query for the named query. |
<R> Stage.Query<R> |
Stage.StatelessSession.createNamedQuery(String queryName)
Create an instance of
Stage.Query for the named query. |
<R> Stage.Query<R> |
Stage.Session.createNamedQuery(String queryName,
Class<R> resultType)
Create an instance of
Stage.Query for the named query. |
<R> Stage.Query<R> |
Stage.StatelessSession.createNamedQuery(String queryName,
Class<R> resultType)
Create an instance of
Stage.Query for the named query. |
<R> Stage.Query<R> |
Stage.Session.createNativeQuery(String queryString)
Create an instance of
Stage.Query for the given SQL query string,
or SQL update, insert, or delete statement. |
<R> Stage.Query<R> |
Stage.StatelessSession.createNativeQuery(String queryString)
Create an instance of
Stage.Query for the given SQL query string,
or SQL update, insert, or delete statement. |
<R> Stage.Query<R> |
Stage.Session.createNativeQuery(String queryString,
AffectedEntities affectedEntities)
Create an instance of
Stage.Query for the given SQL query string,
or SQL update, insert, or delete statement. |
<R> Stage.Query<R> |
Stage.Session.createNativeQuery(String queryString,
Class<R> resultType)
Create an instance of
Stage.Query for the given SQL query string,
using the given resultType to interpret the results. |
<R> Stage.Query<R> |
Stage.StatelessSession.createNativeQuery(String queryString,
Class<R> resultType)
Create an instance of
Stage.Query for the given SQL query string,
using the given resultType to interpret the results. |
<R> Stage.Query<R> |
Stage.Session.createNativeQuery(String queryString,
Class<R> resultType,
AffectedEntities affectedEntities)
Create an instance of
Stage.Query for the given SQL query string,
using the given resultType to interpret the results. |
<R> Stage.Query<R> |
Stage.Session.createNativeQuery(String queryString,
ResultSetMapping<R> resultSetMapping)
Create an instance of
Stage.Query for the given SQL query string,
using the given ResultSetMapping to interpret the result set. |
<R> Stage.Query<R> |
Stage.StatelessSession.createNativeQuery(String queryString,
ResultSetMapping<R> resultSetMapping)
Create an instance of
Stage.Query for the given SQL query string,
using the given ResultSetMapping to interpret the result set. |
<R> Stage.Query<R> |
Stage.Session.createNativeQuery(String queryString,
ResultSetMapping<R> resultSetMapping,
AffectedEntities affectedEntities)
Create an instance of
Stage.Query for the given SQL query string,
using the given ResultSetMapping to interpret the result set. |
<R> Stage.Query<R> |
Stage.Session.createQuery(CriteriaDelete<R> criteriaDelete)
Create an instance of
Stage.Query for the given criteria delete. |
<R> Stage.Query<R> |
Stage.StatelessSession.createQuery(CriteriaDelete<R> criteriaDelete)
Create an instance of
Stage.Query for the given criteria delete. |
<R> Stage.Query<R> |
Stage.Session.createQuery(CriteriaQuery<R> criteriaQuery)
Create an instance of
Stage.Query for the given criteria query. |
<R> Stage.Query<R> |
Stage.StatelessSession.createQuery(CriteriaQuery<R> criteriaQuery)
Create an instance of
Stage.Query for the given criteria query. |
<R> Stage.Query<R> |
Stage.Session.createQuery(CriteriaUpdate<R> criteriaUpdate)
Create an instance of
Stage.Query for the given criteria update. |
<R> Stage.Query<R> |
Stage.StatelessSession.createQuery(CriteriaUpdate<R> criteriaUpdate)
Create an instance of
Stage.Query for the given criteria update. |
<R> Stage.Query<R> |
Stage.Session.createQuery(String queryString)
Create an instance of
Stage.Query for the given HQL/JPQL query
string or HQL/JPQL update or delete statement. |
<R> Stage.Query<R> |
Stage.StatelessSession.createQuery(String queryString)
Create an instance of
Stage.Query for the given HQL/JPQL query
string or HQL/JPQL update or delete statement. |
<R> Stage.Query<R> |
Stage.Session.createQuery(String queryString,
Class<R> resultType)
Create an instance of
Stage.Query for the given HQL/JPQL query
string. |
<R> Stage.Query<R> |
Stage.StatelessSession.createQuery(String queryString,
Class<R> resultType)
Create an instance of
Stage.Query for the given HQL/JPQL query
string. |
Stage.Query<R> |
Stage.Query.setCacheable(boolean cacheable)
Enable or disable caching of this query result set in the
second-level query cache.
|
Stage.Query<R> |
Stage.Query.setCacheMode(org.hibernate.CacheMode cacheMode)
Set the current
CacheMode in effect while this query
is being executed. |
Stage.Query<R> |
Stage.Query.setCacheRegion(String cacheRegion)
Set the name of the cache region in which to store this
query result set if
caching is enabled . |
Stage.Query<R> |
Stage.Query.setComment(String comment)
Set the comment for this query.
|
Stage.Query<R> |
Stage.Query.setFirstResult(int firstResult)
Set the position of the first result that may be returned by
this query when executed, where the results are numbered from
0.
|
Stage.Query<R> |
Stage.Query.setFlushMode(org.hibernate.FlushMode flushMode)
Set the current
FlushMode in effect while this query is
being executed. |
Stage.Query<R> |
Stage.Query.setLockMode(org.hibernate.LockMode lockMode)
Set the
LockMode to use for the whole query. |
Stage.Query<R> |
Stage.Query.setLockMode(String alias,
org.hibernate.LockMode lockMode)
Set the
LockMode to use for specified alias (as defined in
the query's from clause). |
Stage.Query<R> |
Stage.Query.setMaxResults(int maxResults)
Set the maximum number of results that may be returned by this
query when executed.
|
Stage.Query<R> |
Stage.Query.setParameter(int parameter,
Object argument)
Set the value of an ordinal parameter.
|
<T> Stage.Query<R> |
Stage.Query.setParameter(Parameter<T> parameter,
T argument)
Set the value of a typed parameter.
|
Stage.Query<R> |
Stage.Query.setParameter(String parameter,
Object argument)
Set the value of a named parameter.
|
Stage.Query<R> |
Stage.Query.setReadOnly(boolean readOnly)
Set the read-only/modifiable mode for entities and proxies
loaded by this Query.
|
Copyright © 2020-2022 Red Hat, Inc. All Rights Reserved.