Home » Search

About hints

1-10 of 99Refresh
Manual
106

Setting and Tuning of JPA Queries

a LockTimeoutException. Query Hints Additional settings can be applied to queries via hints. Supported Query Hints ObjectDB supports the following query hints: "javax.persistence.query.timeout" - sets maximum ... the cache. Setting Query Hint (Scopes) Query hints can be set in the following scopes (from global
JPA Doc
91

NamedNativeQuery.hints

Annotation Element javax.persistence.NamedNativeQuery QueryHint[] hints Query properties and hints. (May include vendor-specific query hints.) Default value: {} Since: JPA 1.0
JPA Doc
91

NamedQuery.hints

Annotation Element javax.persistence.NamedQuery QueryHint[] hints (Optional) Query properties and hints. May include vendor-specific query hints. Default value: {} Since: JPA 1.0
Issue
30

Read only hint for query

Second thing after @FetchGroup I've found is read-only hint for EM. You can specify this hint to EM when executing query meaning that returned data will never be edited or persisted. My understanding of this is that each entity returned from query is in detached state as default state. query
Manual
25

Locking in JPA

occurs a LockTimeoutException is thrown immediately. The "javax.persistence.lock.timeout" hint can be set to allow waiting for a pessimistic lock for a specified number of milliseconds. The hint ... ); In addition, the hint can be set for a specific retrieval operation or query. Releasing
JPA Doc
21

javax.persistence.EntityManager

there. If a vendor-specific property or hint is not recognized, it is silently ignored. Parameters: entityClass ... and hints Returns: the found entity instance or null if the entity does not exist Throws ... -specific property or hint is not recognized, it is silently ignored. Portable applications
Manual
21

Database Management Settings

) for the recovery file and the database file can improve performance. The max attribute is a hint ... specifies miscellaneous database engine settings: The cache attribute is a hint that specifies
JPA Doc
20

javax.persistence.TypedQuery

.0 Map getHints() Get the properties and hints and associated values that are in effect for the query instance. Get the properties and hints and associated values that are in effect for the query instance. Returns: query properties and hints Since: JPA 2.0 LockModeType getLockMode
JPA Doc
15

javax.persistence.Query

,Object> getHints() Get the properties and hints and associated values that are in effect for the query instance. Get the properties and hints and associated values that are in effect for the query instance. Returns: query properties and hints Since: JPA 2.0 LockModeType getLockMode() Get the current
Manual
14

JPA Named Queries

and hints, provide static replacement for the setLockMode and setHint methods. Every @NamedQuery annotation