Query
, Parameter
Modifier and Type | Method and Description |
---|---|
public List | Returns: a list of the resultsRedeclares jakarta. |
public default Stream | Returns: a stream of the resultsOverrides default jakarta. java.util.stream.Stream .
|
public X | Returns: the resultRedeclares jakarta. |
public TypedQuery | Returns: the same query instanceposition of the first result,
numbered from 0 startPosition)Redeclares jakarta. |
public TypedQuery | Returns: the same query instanceflush mode flushMode)Redeclares jakarta. |
public TypedQuery | Returns: the same query instancename of property or hint hintName, Object value for the property or hint value)Redeclares jakarta. |
public TypedQuery | Returns: the same query instancelock mode lockMode)Redeclares jakarta. |
public TypedQuery | Returns: the same query instancemaximum number of results to retrieve maxResult)Redeclares jakarta. |
public <T> TypedQuery | Returns: the same query instanceparameter object param, T parameter value value)Redeclares jakarta. Parameter object.
|
public TypedQuery | Returns: the same query instanceparameter object param, Calendar parameter value value, TemporalType temporal type temporalType)Redeclares jakarta. java.util.Calendar to a Parameter object.
|
public TypedQuery | Returns: the same query instanceparameter object param, Date parameter value value, TemporalType temporal type temporalType)Redeclares jakarta. java.util.Date to a Parameter object.
|
public TypedQuery | Returns: the same query instanceparameter name name, Object parameter value value)Redeclares jakarta. |
public TypedQuery | Returns: the same query instanceparameter name name, Calendar parameter value value, TemporalType temporal type temporalType)Redeclares jakarta. java.util.Calendar to a named parameter.
|
public TypedQuery | Returns: the same query instanceparameter name name, Date parameter value value, TemporalType temporal type temporalType)Redeclares jakarta. java.util.Date to a named parameter.
|
public TypedQuery | Returns: the same query instanceposition position, Object parameter value value)Redeclares jakarta. |
public TypedQuery | Returns: the same query instanceposition position, Calendar parameter value value, TemporalType temporal type temporalType)Redeclares jakarta. java.util.Calendar to a positional
parameter.
|
public TypedQuery | Returns: the same query instanceposition position, Date parameter value value, TemporalType temporal type temporalType)Redeclares jakarta. java.util.Date to a positional parameter.
|
getResultList | back to summary |
---|---|
public List Redeclares jakarta. Execute a SELECT query and return the query results as a typed List.
|
getResultStream | back to summary |
---|---|
public default Stream Overrides default jakarta. Execute a SELECT query and return the query results
as a typed
|
getSingleResult | back to summary |
---|---|
public X getSingleResult() Redeclares jakarta. Execute a SELECT query that returns a single result.
|
setFirstResult | back to summary |
---|---|
public TypedQuery Redeclares jakarta. Set the position of the first result to retrieve.
|
setFlushMode | back to summary |
---|---|
public TypedQuery Redeclares jakarta. Set the flush mode type to be used for the query execution. The flush mode type applies to the query regardless of the flush mode type in use for the entity manager.
|
setHint | back to summary |
---|---|
public TypedQuery Redeclares jakarta. Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties defined by this specification must be observed by the provider. Vendor-specific hints that are not recognized by a provider must be silently ignored. Portable applications should not rely on the standard timeout hint. Depending on the database in use and the locking mechanisms used by the provider, this hint may or may not be observed.
|
setLockMode | back to summary |
---|---|
public TypedQuery Redeclares jakarta. Set the lock mode type to be used for the query execution.
|
setMaxResults | back to summary |
---|---|
public TypedQuery Redeclares jakarta. Set the maximum number of results to retrieve.
|
setParameter | back to summary |
---|---|
public <T> TypedQuery Redeclares jakarta. Bind the value of a
|
setParameter | back to summary |
---|---|
public TypedQuery Redeclares jakarta. Bind an instance of
|
setParameter | back to summary |
---|---|
public TypedQuery Redeclares jakarta. Bind an instance of
|
setParameter | back to summary |
---|---|
public TypedQuery Redeclares jakarta. Bind an argument value to a named parameter.
|
setParameter | back to summary |
---|---|
public TypedQuery Redeclares jakarta. Bind an instance of
|
setParameter | back to summary |
---|---|
public TypedQuery Redeclares jakarta. Bind an instance of
|
setParameter | back to summary |
---|---|
public TypedQuery Redeclares jakarta. Bind an argument value to a positional parameter.
|
setParameter | back to summary |
---|---|
public TypedQuery Redeclares jakarta. Bind an instance of
|
setParameter | back to summary |
---|---|
public TypedQuery Redeclares jakarta. Bind an instance of
|