Query, Parameter
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: a list of the resultsRedeclares javax. |
| public default Stream | Returns: a stream of the resultsOverrides default javax. java.util.stream.Stream.
|
| public X | Returns: the resultRedeclares javax. |
| public TypedQuery | Returns: the same query instanceposition of the first result,
numbered from 0 startPosition)Redeclares javax. |
| public TypedQuery | Returns: the same query instanceflush mode flushMode)Redeclares javax. |
| public TypedQuery | Returns: the same query instancename of property or hint hintName, Object value for the property or hint value)Redeclares javax. |
| public TypedQuery | Returns: the same query instancelock mode lockMode)Redeclares javax. |
| public TypedQuery | Returns: the same query instancemaximum number of results to retrieve maxResult)Redeclares javax. |
| public <T> TypedQuery | Returns: the same query instanceparameter object param, T parameter value value)Redeclares javax. Parameter object.
|
| public TypedQuery | Returns: the same query instanceparameter object param, Calendar parameter value value, TemporalType temporal type temporalType)Redeclares javax. 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 javax. java.util.Date to a Parameter object.
|
| public TypedQuery | Returns: the same query instanceparameter name name, Object parameter value value)Redeclares javax. |
| public TypedQuery | Returns: the same query instanceparameter name name, Calendar parameter value value, TemporalType temporal type temporalType)Redeclares javax. 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 javax. java.util.Date to a named parameter.
|
| public TypedQuery | Returns: the same query instanceposition position, Object parameter value value)Redeclares javax. |
| public TypedQuery | Returns: the same query instanceposition position, Calendar parameter value value, TemporalType temporal type temporalType)Redeclares javax. java.util.Calendar to a positional
parameter.
|
| public TypedQuery | Returns: the same query instanceposition position, Date parameter value value, TemporalType temporal type temporalType)Redeclares javax. java.util.Date to a positional parameter.
|
| getResultList | back to summary |
|---|---|
| public List Redeclares javax. Execute a SELECT query and return the query results as a typed List.
| |
| getResultStream | back to summary |
|---|---|
| public default Stream Overrides default javax. Execute a SELECT query and return the query results
as a typed
| |
| getSingleResult | back to summary |
|---|---|
| public X getSingleResult() Redeclares javax. Execute a SELECT query that returns a single result.
| |
| setFirstResult | back to summary |
|---|---|
| public TypedQuery Redeclares javax. Set the position of the first result to retrieve.
| |
| setFlushMode | back to summary |
|---|---|
| public TypedQuery Redeclares javax. 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 javax. 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 javax. Set the lock mode type to be used for the query execution.
| |
| setMaxResults | back to summary |
|---|---|
| public TypedQuery Redeclares javax. Set the maximum number of results to retrieve.
| |
| setParameter | back to summary |
|---|---|
| public <T> TypedQuery Redeclares javax. Bind the value of a
| |
| setParameter | back to summary |
|---|---|
| public TypedQuery Redeclares javax. Bind an instance of
| |
| setParameter | back to summary |
|---|---|
| public TypedQuery Redeclares javax. Bind an instance of
| |
| setParameter | back to summary |
|---|---|
| public TypedQuery Redeclares javax. Bind an argument value to a named parameter.
| |
| setParameter | back to summary |
|---|---|
| public TypedQuery Redeclares javax. Bind an instance of
| |
| setParameter | back to summary |
|---|---|
| public TypedQuery Redeclares javax. Bind an instance of
| |
| setParameter | back to summary |
|---|---|
| public TypedQuery Redeclares javax. Bind an argument value to a positional parameter.
| |
| setParameter | back to summary |
|---|---|
| public TypedQuery Redeclares javax. Bind an instance of
| |
| setParameter | back to summary |
|---|---|
| public TypedQuery Redeclares javax. Bind an instance of
| |