Deprecated
as a consequence of Query and SQLQuery being deprecated. See corresponding docs for further information.
| Modifier and Type | Method and Description |
|---|---|
| public NativeQuery | addEntity(String
The entity name that is the root return of the query. entityName)Redeclares org.
Deprecated
as a consequence of
Declare a "root" entity, without specifying an alias.
NativeQuery being deprecated.
|
| public NativeQuery | addEntity(String
The SQL table alias tableAlias, String The entity name entityName)Redeclares org.
Deprecated
as a consequence of
Declare a "root" entity.
NativeQuery being deprecated.
|
| public NativeQuery | addEntity(String
The SQL table alias tableAlias, String The entity name entityName, LockMode The lock mode for this return. lockMode)Redeclares org.
Deprecated
as a consequence of
Declare a "root" entity, specifying a lock mode.
NativeQuery being deprecated.
|
| public NativeQuery | addEntity(Class<T>
The java type of the entity to add as a root entityType)Redeclares org.
Deprecated
as a consequence of
Declare a "root" entity, without specifying an alias.
NativeQuery being deprecated.
|
| public NativeQuery | addEntity(String
The SQL table alias tableAlias, Class<T> The java type of the entity to add as a root entityType)Redeclares org.
Deprecated
as a consequence of
Declare a "root" entity.
NativeQuery being deprecated.
|
| public NativeQuery | addEntity(String
The SQL table alias tableAlias, Class<T> The entity Class entityClass, LockMode The lock mode for this return. lockMode)Redeclares org.
Deprecated
as a consequence of
Declare a "root" entity, specifying a lock mode.
NativeQuery being deprecated.
|
| public SQLQuery. | addFetch(String
The SQL table alias for the data to be mapped to this fetch tableAlias, String Identify the table alias of the owner of this association. Should match the alias of a
previously added root or fetch ownerTableAlias, String The name of the property being join fetched. joinPropertyName)Redeclares org. |
| public NativeQuery | addJoin(String
The SQL table alias for the data to be mapped to this fetch tableAlias, String The association path ([owner-alias].[property-name]). path)Redeclares org.
Deprecated
as a consequence of
Declare a join fetch result.
NativeQuery being deprecated.
|
| public NativeQuery | addJoin(String
The SQL table alias for the data to be mapped to this fetch tableAlias, String Identify the table alias of the owner of this association. Should match the alias of a
previously added root or fetch ownerTableAlias, String The name of the property being join fetched. joinPropertyName)Redeclares org.
Deprecated
as a consequence of
Declare a join fetch result.
NativeQuery being deprecated.
|
| public NativeQuery | addJoin(String
The SQL table alias for the data to be mapped to this fetch tableAlias, String The association path ([owner-alias].[property-name]). path, LockMode The lock mode for this return. lockMode)Redeclares org.
Deprecated
as a consequence of
Declare a join fetch result, specifying a lock mode.
NativeQuery being deprecated.
|
| public NativeQuery | addQueryHint(String
The database specific query hint to add. hint)Redeclares org.
Deprecated
as a consequence of
Add a DB query hint to the SQL.
NativeQuery being deprecated.
|
| public SQLQuery. | addRoot(String
The SQL table alias to map to this entity tableAlias, String The name of the entity. entityName)Redeclares org. SQLQuery. to allow further definition.
|
| public SQLQuery. | addRoot(String
The SQL table alias to map to this entity tableAlias, Class<T> The java type of the entity. entityType)Redeclares org. SQLQuery. to allow further definition.
|
| public NativeQuery | addScalar(String
The column alias in the result-set to be processed as a scalar result columnAlias)Redeclares org.
Deprecated
as a consequence of
Declare a scalar query result.
NativeQuery being deprecated.
|
| public NativeQuery | addScalar(String
The column alias in the result-set to be processed as a scalar result columnAlias, Type The Hibernate type as which to treat the value. type)Redeclares org.
Deprecated
as a consequence of
Declare a scalar query result.
NativeQuery being deprecated.
|
| public NativeQuery | addSynchronizedEntityClass(Class<T>
The class of the entity upon whose defined query spaces we should additionally synchronize. entityClass)Redeclares org.
Deprecated
as a consequence of
Adds an entity for (a) auto-flush checking and (b) query result cache invalidation checking.
NativeQuery being deprecated.
|
| public NativeQuery | addSynchronizedEntityName(String
The name of the entity upon whose defined query spaces we should additionally synchronize. entityName)Redeclares org.
Deprecated
as a consequence of
Adds an entity name for (a) auto-flush checking and (b) query result cache invalidation checking.
NativeQuery being deprecated.
|
| public NativeQuery | addSynchronizedQuerySpace(String
The query space to be auto-flushed for this query. querySpace)Redeclares org.
Deprecated
as a consequence of
Adds a query space.
NativeQuery being deprecated.
|
| public boolean | isCallable()
Redeclares org. |
| public NativeQuery | setCacheable(boolean
Should the query results be cacheable? cacheable)Redeclares org.
Deprecated
as a consequence of
Enable/disable second level query (result) caching for this query.
NativeQuery being deprecated.
|
| public NativeQuery | setCacheMode(CacheMode
The new CacheMode to use. cacheMode)Redeclares org.
Deprecated
as a consequence of
(Re)set the current CacheMode in effect for this query.
NativeQuery being deprecated.
|
| public NativeQuery | setCacheRegion(String
the name of a query cache region, or cacheRegion)null to indicate that the default region
should be used.Redeclares org.
Deprecated
as a consequence of
Set the name of the cache region where query results should be cached (if cached at all).
NativeQuery being deprecated.
|
| public NativeQuery | setComment(String
The human-readable comment comment)Redeclares org.
Deprecated
as a consequence of
Set the comment for this query.
NativeQuery being deprecated.
|
| public NativeQuery | setFetchSize(int
the fetch size hint fetchSize)Redeclares org.
Deprecated
as a consequence of
Sets a JDBC fetch size hint for the query.
NativeQuery being deprecated.
|
| public NativeQuery | setFirstResult(int
position of the first result,
numbered from 0 startPosition)Redeclares org.
Deprecated
as a consequence of
Set the position of the first result to retrieve.
NativeQuery being deprecated.
|
| public NativeQuery | setFlushMode(FlushMode
The new FlushMode to use. flushMode)Redeclares org. Redeclares as abstract: org.
Deprecated
as a consequence of
(Re)set the current FlushMode in effect for this query.
NativeQuery being deprecated.
|
| public NativeQuery | setFlushMode(FlushModeType
flush mode flushMode)Redeclares org.
Deprecated
as a consequence of
Set the flush mode type to be used for the query execution.
NativeQuery being deprecated.
|
| public NativeQuery | setHibernateFlushMode(FlushMode
The new FlushMode to use. flushMode)Redeclares org.
Deprecated
as a consequence of
(Re)set the current FlushMode in effect for this query.
NativeQuery being deprecated.
|
| public NativeQuery | setHint(String
name of property or hint hintName, Object value for the property or hint value)Redeclares org.
Deprecated
as a consequence of
Set a query property or hint.
NativeQuery being deprecated.
|
| public NativeQuery | setLockMode(String
a query alias, or alias, LockMode "this" for a collection filterThe lock mode to apply. lockMode)Redeclares org.
Deprecated
as a consequence of
Set the LockMode to use for specific alias (as defined in the query's FROM clause).
NativeQuery being deprecated.
|
| public NativeQuery | setLockMode(LockModeType
lock mode lockMode)Redeclares org.
Deprecated
as a consequence of
Set the lock mode type to be used for the query execution.
NativeQuery being deprecated.
|
| public NativeQuery | setLockOptions(LockOptions
The lock options to apply to the query. lockOptions)Redeclares org.
Deprecated
as a consequence of
Set the lock options for the query.
NativeQuery being deprecated.
|
| public NativeQuery | setMaxResults(int
maximum number of results to retrieve maxResult)Redeclares org.
Deprecated
as a consequence of
Set the maximum number of results to retrieve.
NativeQuery being deprecated.
|
| public <P> NativeQuery | setParameter(QueryParameter<P>
The query parameter memento parameter, P the possibly-null parameter value val)Redeclares org.
Deprecated
as a consequence of
Bind a query parameter using its inferred Type.
NativeQuery being deprecated.
|
| public <P> NativeQuery | setParameter(Parameter<P>
parameter object param, P parameter value value)Redeclares org.
Deprecated
as a consequence of
Bind the value of a NativeQuery being deprecated.
Parameter object.
|
| public <P> NativeQuery | setParameter(QueryParameter<P>
The query parameter memento parameter, P the possibly-null parameter value val, Type the Hibernate type type)Redeclares org.
Deprecated
as a consequence of
Bind a query parameter using the supplied Type
NativeQuery being deprecated.
|
| public NativeQuery | setParameter(String
the name of the parameter name, Object the possibly-null parameter value val, Type the Hibernate type type)Redeclares org.
Deprecated
as a consequence of
Bind a named query parameter using the supplied Type
NativeQuery being deprecated.
|
| public NativeQuery | setParameter(int
the position of the parameter in the query
string, numbered from 0. position, Object the possibly-null parameter value val, Type the Hibernate type type)Redeclares org.
Deprecated
as a consequence of
Bind a value to a JDBC-style query parameter.
NativeQuery being deprecated.
|
| public <P> NativeQuery | setParameter(QueryParameter<P>
The query parameter memento parameter, P the possibly-null parameter value val, TemporalType the temporal-type to use in binding the date/time temporalType)Redeclares org.
Deprecated
as a consequence of
Bind a query parameter as some form of date/time using the indicated
temporal-type.
NativeQuery being deprecated.
|
| public NativeQuery | setParameter(String
the parameter name name, Object the possibly-null parameter value val, TemporalType the temporal-type to use in binding the date/time temporalType)Redeclares org.
Deprecated
as a consequence of
Bind a named query parameter as some form of date/time using
the indicated temporal-type.
NativeQuery being deprecated.
|
| public NativeQuery | setParameter(int
the position of the parameter in the query
string, numbered from 0. position, Object the possibly-null parameter value val, TemporalType the temporal-type to use in binding the date/time temporalType)Redeclares org.
Deprecated
as a consequence of
Bind a positional query parameter as some form of date/time using
the indicated temporal-type.
NativeQuery being deprecated.
|
| public NativeQuery | setParameter(Parameter<Calendar>
parameter object param, Calendar parameter value value, TemporalType temporal type temporalType)Redeclares org.
Deprecated
as a consequence of
Bind an instance of NativeQuery being deprecated.
java.util.Calendar to a Parameter object.
|
| public NativeQuery | setParameter(Parameter<Date>
parameter object param, Date parameter value value, TemporalType temporal type temporalType)Redeclares org.
Deprecated
as a consequence of
Bind an instance of NativeQuery being deprecated.
java.util.Date to a Parameter object.
|
| public NativeQuery | setParameter(String
parameter name name, Object parameter value value)Redeclares org.
Deprecated
as a consequence of
Bind an argument value to a named parameter.
NativeQuery being deprecated.
|
| public NativeQuery | setParameter(String
parameter name name, Calendar parameter value value, TemporalType temporal type temporalType)Redeclares org.
Deprecated
as a consequence of
Bind an instance of NativeQuery being deprecated.
java.util.Calendar to a named parameter.
|
| public NativeQuery | setParameter(String
parameter name name, Date parameter value value, TemporalType temporal type temporalType)Redeclares org.
Deprecated
as a consequence of
Bind an instance of NativeQuery being deprecated.
java.util.Date to a named parameter.
|
| public NativeQuery | setParameter(int
position position, Object parameter value value)Redeclares org.
Deprecated
as a consequence of
Bind an argument value to a positional parameter.
NativeQuery being deprecated.
|
| public NativeQuery | setParameter(int
position position, Calendar parameter value value, TemporalType temporal type temporalType)Redeclares org.
Deprecated
as a consequence of
Bind an instance of NativeQuery being deprecated.
java.util.Calendar to a positional
parameter.
|
| public NativeQuery | setParameter(int
position position, Date parameter value value, TemporalType temporal type temporalType)Redeclares org.
Deprecated
as a consequence of
Bind an instance of NativeQuery being deprecated.
java.util.Date to a positional parameter.
|
| public NativeQuery | setParameter(Parameter<Instant> param, Instant value, TemporalType temporalType)
Redeclares org.
Deprecated
as a consequence of
NativeQuery being deprecated.
|
| public NativeQuery | setParameter(Parameter<LocalDateTime> param, LocalDateTime value, TemporalType temporalType)
Redeclares org.
Deprecated
as a consequence of
NativeQuery being deprecated.
|
| public NativeQuery | setParameter(Parameter<ZonedDateTime> param, ZonedDateTime value, TemporalType temporalType)
Redeclares org.
Deprecated
as a consequence of
NativeQuery being deprecated.
|
| public NativeQuery | setParameter(Parameter<OffsetDateTime> param, OffsetDateTime value, TemporalType temporalType)
Redeclares org.
Deprecated
as a consequence of
NativeQuery being deprecated.
|
| public NativeQuery | 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)Redeclares org.
Deprecated
as a consequence of
Bind a named query parameter as some form of date/time using
the indicated temporal-type.
NativeQuery being deprecated.
|
| public NativeQuery | 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)Redeclares org.
Deprecated
as a consequence of
Bind a named query parameter as some form of date/time using
the indicated temporal-type.
NativeQuery being deprecated.
|
| public NativeQuery | 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)Redeclares org.
Deprecated
as a consequence of
Bind a named query parameter as some form of date/time using
the indicated temporal-type.
NativeQuery being deprecated.
|
| public NativeQuery | 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)Redeclares org.
Deprecated
as a consequence of
Bind a named query parameter as some form of date/time using
the indicated temporal-type.
NativeQuery being deprecated.
|
| public NativeQuery | 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)Redeclares org.
Deprecated
as a consequence of
Bind a positional query parameter as some form of date/time using
the indicated temporal-type.
NativeQuery being deprecated.
|
| public NativeQuery | 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)Redeclares org.
Deprecated
as a consequence of
Bind a positional query parameter as some form of date/time using
the indicated temporal-type.
NativeQuery being deprecated.
|
| public NativeQuery | 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)Redeclares org.
Deprecated
as a consequence of
Bind a positional query parameter as some form of date/time using
the indicated temporal-type.
NativeQuery being deprecated.
|
| public NativeQuery | 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)Redeclares org.
Deprecated
as a consequence of
Bind a positional query parameter as some form of date/time using
the indicated temporal-type.
NativeQuery being deprecated.
|
| public <P> NativeQuery | setParameterList(QueryParameter<P>
the parameter memento parameter, Collection<P> a collection of values to list values)Redeclares org.
Deprecated
as a consequence of
Bind multiple values to a query parameter using its inferred Type.
NativeQuery being deprecated.
|
| public NativeQuery | setParameterList(String
the name of the parameter name, Collection<E> a collection of values to list values)Redeclares org.
Deprecated
as a consequence of
Bind multiple values to a named query parameter.
NativeQuery being deprecated.
|
| public NativeQuery | 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)Redeclares org.
Deprecated
as a consequence of
Bind multiple values to a named query parameter.
NativeQuery being deprecated.
|
| public NativeQuery | setParameterList(String
the name of the parameter name, Object[] a collection of values to list values, Type the Hibernate type of the values type)Redeclares org.
Deprecated
as a consequence of
Bind multiple values to a named query parameter.
NativeQuery being deprecated.
|
| public NativeQuery | setParameterList(String
the name of the parameter name, Object[] a collection of values to list values)Redeclares org.
Deprecated
as a consequence of
Bind multiple values to a named query parameter.
NativeQuery being deprecated.
|
| public NativeQuery | setProperties(Object
any JavaBean or POJO bean)Redeclares 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.
NativeQuery being deprecated.
|
| public NativeQuery | setProperties(Map<K, V>
a java.util.Map bean)Redeclares 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.
NativeQuery being deprecated.
|
| public NativeQuery | 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 modeRedeclares org.
Deprecated
as a consequence of
Set the read-only/modifiable mode for entities and proxies
loaded by this Query.
NativeQuery being deprecated.
|
| public NativeQuery | setResultSetMapping(String
The name of the mapping to use. name)Redeclares org.
Deprecated
as a consequence of
Use a predefined named result-set mapping.
NativeQuery being deprecated.
|
| public NativeQuery | setTimeout(int
the timeout in seconds timeout)Redeclares org.
Deprecated
as a consequence of
Set the query timeout in seconds.
NativeQuery being deprecated.
|