Deprecated
as a consequence of Query and CommonQueryContract being deprecated. See corresponding docs for further information.
Note
org. is deprecated, and slated for removal in 6.0.
For the time being we leave all methods defined on org.
rather than here because it was previously the public API so we want to leave that
unchanged in 5.x. For 6.0 we will move those methods here and then delete that class.
| Modifier and Type | Method and Description |
|---|---|
| public Query | 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.
Query being deprecated.
|
| public default Query | applyFetchGraph(RootGraph<J> graph)
Deprecated
as a consequence of
Apply the given graph using fetch semantics
Query being deprecated.
|
| public Query | Returns: this - for method chainingThe graph the apply. graph, GraphSemantic The semantic to use when applying the graph semantic)
Deprecated
as a consequence of
Apply the given graph using the given semantic
Query being deprecated.
|
| public default Query | applyLoadGraph(RootGraph<J> graph)
Deprecated
as a consequence of
Apply the given graph using load semantics
Query being deprecated.
|
| public CacheMode | getCacheMode()
Redeclares org. |
| public String | getCacheRegion()
Redeclares org. isCacheable() for more information).
|
| public String | getComment()
Redeclares org. |
| public Integer | getFetchSize()
Redeclares org. |
| public FlushMode | getHibernateFlushMode()
Redeclares org. |
| public LockOptions | getLockOptions()
Redeclares org. |
| public ParameterMetadata | getParameterMetadata()
Redeclares org. |
| public QueryProducer | |
| public String | |
| public default List | getResultList()
Implements javax. |
| public default Stream | Returns: The results StreamOverrides default javax. getResultStream method so to get a Stream from the JDBC java..
|
| public default R | getSingleResult()
Implements javax. |
| public List | |
| public ScrollableResults | |
| public ScrollableResults | scroll(ScrollMode
The scroll mode scrollMode)Redeclares org. |
| public default Query | Returns: this, for method chainingThe parameter position position, BigDecimal The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional BigDecimal-valued parameter.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, BigDecimal The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named BigDecimal-valued parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter position position, BigInteger The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional BigDecimal-valued parameter.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, BigInteger The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named BigInteger-valued parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter position position, byte[] The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional binary-valued parameter.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, byte[] The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named binary-valued parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter position position, boolean The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional boolean-valued parameter.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, boolean The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named boolean-valued parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter position position, byte The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional byte-valued parameter.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, byte The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named byte-valued parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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).
Query being deprecated.
|
| public default Query | Returns: this, for method chainingThe parameter position position, Calendar The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional Calendar-valued parameter using the full Timestamp portion.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, Calendar The bind value value)Overrides default org.
Deprecated
(since 5.2) use
Bind a named Calendar-valued parameter using the full Timestamp.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter position position, Calendar The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional Calendar-valued parameter using just the Date portion.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, Calendar The bind value value)Overrides default org.
Deprecated
(since 5.2) use
Bind a named Calendar-valued parameter using just the Date portion.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter position position, char The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional char-valued parameter.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, char The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named char-valued parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public Query | setComment(String
The human-readable comment comment)Redeclares org.
Deprecated
as a consequence of
Set the comment for this query.
Query being deprecated.
|
| public default Query | Returns: this, for method chainingThe parameter position position, Date The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional Date-valued parameter using just the Date portion.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe name of the parameter name, Date The val object val)Overrides default org.
Deprecated
(since 5.2) use
Bind the val (time is truncated) of a given Date object to a named query parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter position position, double The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional double-valued parameter.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, double The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named double-valued parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public Query | Returns: this, for method chainingthe position of the parameter in the query
string, numbered from 0. position, Object a non-null instance of a persistent class val)Redeclares org.
Deprecated
(since 5.2) use
Bind an instance of a mapped persistent class to a JDBC-style query parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public Query | Returns: this, for method chainingthe name of the parameter name, Object a non-null instance of a persistent class val)Redeclares org.
Deprecated
(since 5.2) use
Bind an instance of a mapped persistent class to a named query parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public Query | setFetchSize(int
the fetch size hint fetchSize)Redeclares org.
Deprecated
as a consequence of
Sets a JDBC fetch size hint for the query.
Query being deprecated.
|
| public Query | setFirstResult(int
position of the first result,
numbered from 0 startPosition)Redeclares javax.
Deprecated
as a consequence of
Set the position of the first result to retrieve.
Query being deprecated.
|
| public default Query | Returns: this, for method chainingThe parameter position position, float The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional float-valued parameter.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, float The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named float-valued parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public Query | setFlushMode(FlushModeType
flush mode flushMode)Redeclares javax.
Deprecated
as a consequence of
Set the flush mode type to be used for the query execution.
Query being deprecated.
|
| public default Query | Returns: this, for method chainingThe new FlushMode to use. flushMode)Overrides default org. Implements org.
Deprecated
(since 5.2) use
(Re)set the current FlushMode in effect for this query.
setHibernateFlushMode instead
|
| public Query | setHibernateFlushMode(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.
Query being deprecated.
|
| public Query | setHint(String
name of property or hint hintName, Object value for the property or hint value)Redeclares javax.
Deprecated
as a consequence of
Set a query property or hint.
Query being deprecated.
|
| public default Query | Returns: this, for method chainingThe parameter position position, int The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional int-valued parameter.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, int The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named int-valued parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter position position, Locale The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional Locale-valued parameter.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, Locale The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named Locale-valued parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public Query | setLockMode(LockModeType
lock mode lockMode)Redeclares javax.
Deprecated
as a consequence of
Set the lock mode type to be used for the query execution.
Query being deprecated.
|
| public Query | 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).
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public default Query | Returns: this, for method chainingThe parameter position position, long The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional long-valued parameter.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, long The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named long-valued parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public Query | setMaxResults(int
maximum number of results to retrieve maxResult)Redeclares javax.
Deprecated
as a consequence of
Set the maximum number of results to retrieve.
Query being deprecated.
|
| public Query | setParameter(Parameter<Instant> param, Instant value, TemporalType temporalType)
Deprecated
as a consequence of
Query being deprecated.
|
| public Query | setParameter(Parameter<LocalDateTime> param, LocalDateTime value, TemporalType temporalType)
Deprecated
as a consequence of
Query being deprecated.
|
| public Query | setParameter(Parameter<ZonedDateTime> param, ZonedDateTime value, TemporalType temporalType)
Deprecated
as a consequence of
Query being deprecated.
|
| public Query | setParameter(Parameter<OffsetDateTime> param, OffsetDateTime value, TemporalType temporalType)
Deprecated
as a consequence of
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public <T> Query | setParameter(Parameter<T>
parameter object param, T parameter value value)Redeclares javax.
Deprecated
as a consequence of
Bind the value of a Query being deprecated.
Parameter object.
|
| public Query | setParameter(Parameter<Calendar>
parameter object param, Calendar parameter value value, TemporalType temporal type temporalType)Redeclares javax.
Deprecated
as a consequence of
Bind an instance of Query being deprecated.
java.util.Calendar to a Parameter object.
|
| public Query | setParameter(Parameter<Date>
parameter object param, Date parameter value value, TemporalType temporal type temporalType)Redeclares javax.
Deprecated
as a consequence of
Bind an instance of Query being deprecated.
java.util.Date to a Parameter object.
|
| public Query | setParameter(String
parameter name name, Object parameter value value)Redeclares javax.
Deprecated
as a consequence of
Bind an argument value to a named parameter.
Query being deprecated.
|
| public Query | 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
Query being deprecated.
|
| public Query | setParameter(String
parameter name name, Calendar parameter value value, TemporalType temporal type temporalType)Redeclares javax.
Deprecated
as a consequence of
Bind an instance of Query being deprecated.
java.util.Calendar to a named parameter.
|
| public Query | setParameter(String
parameter name name, Date parameter value value, TemporalType temporal type temporalType)Redeclares javax.
Deprecated
as a consequence of
Bind an instance of Query being deprecated.
java.util.Date to a named parameter.
|
| public Query | setParameter(int
position position, Object parameter value value)Redeclares javax.
Deprecated
as a consequence of
Bind an argument value to a positional parameter.
Query being deprecated.
|
| public Query | setParameter(int
position position, Calendar parameter value value, TemporalType temporal type temporalType)Redeclares javax.
Deprecated
as a consequence of
Bind an instance of Query being deprecated.
java.util.Calendar to a positional
parameter.
|
| public Query | setParameter(int
position position, Date parameter value value, TemporalType temporal type temporalType)Redeclares javax.
Deprecated
as a consequence of
Bind an instance of Query being deprecated.
java.util.Date to a positional parameter.
|
| public <T> Query | setParameter(QueryParameter<T>
The query parameter memento parameter, T the possibly-null parameter value val)Redeclares org.
Deprecated
as a consequence of
Bind a query parameter using its inferred Type.
Query being deprecated.
|
| public <P> Query | setParameter(int
the position of the parameter in the query
string, numbered from 0. position, 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 positional query parameter as some form of date/time using
the indicated temporal-type.
Query being deprecated.
|
| public <P> Query | 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
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public <P> Query | 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.
Query being deprecated.
|
| public <P> Query | setParameter(String
the parameter name name, 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 named query parameter as some form of date/time using
the indicated temporal-type.
Query being deprecated.
|
| public <P> Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public default Query | Returns: this, for method chainingThe values values, Type[] The types types)Overrides default org.
Deprecated
(since 5.2) Bind values individually
Bind values and types to positional parameters.
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public Query | 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.
Query being deprecated.
|
| public Query | Returns: this (for method chaining)The transformer to apply transformer)Redeclares org.
Deprecated
(since 5.2)
Set a strategy for handling the query results.
|
| public default Query | Returns: this, for method chainingThe parameter position position, Serializable The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional binary-valued parameter using serialization.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, Serializable The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named binary-valued parameter using serialization.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter position position, short The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional short-valued parameter.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, short The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named short-valued parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter position position, String The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional String-valued parameter.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, String The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named String-valued parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter position position, String The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional String-valued parameter using streaming.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter name name, String The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a named String-valued parameter using streaming.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe parameter position position, Date The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional Date-valued parameter using just the Time portion.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe name of the parameter name, Date The val object val)Overrides default org.
Deprecated
(since 5.2) use
Bind the time (val is truncated) of a given Date object to a named query parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public Query | setTimeout(int
the timeout in seconds timeout)Redeclares org.
Deprecated
as a consequence of
Set the query timeout in seconds.
Query being deprecated.
|
| public default Query | Returns: this, for method chainingThe parameter position position, Date The bind value val)Overrides default org.
Deprecated
(since 5.2) use
Bind a positional Date-valued parameter using the full Timestamp.
setParameter(int, Object) or setParameter(int, Object, Type)
instead
|
| public default Query | Returns: this, for method chainingThe name of the parameter name, Date The value object value)Overrides default org.
Deprecated
(since 5.2) use
Bind the value and the time of a given Date object to a named query parameter.
setParameter(String, Object) or setParameter(String, Object, Type)
instead
|
| public Stream | |
| public R | uniqueResult()
Redeclares org. null if the query returns no results.
|
| public Optional |