 111 | Annotation Element javax.persistence.NamedNativeQuery QueryHint[] hints Query properties and hints. (May include vendor-specific query hints.) Default value: {} Since: JPA 1.0 |
 111 | Annotation Element javax.persistence.NamedQuery QueryHint[] hints (Optional) Query properties and hints. May include vendor-specific query hints. Default value: {} Since: JPA 1.0 |
 47 | 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 |
 36 | 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 |
 24 | 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 |
 21 | 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 |
 20 | ) 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 |
 19 | .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 |
 14 | ,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 |
 14 | and hints, provide static replacement for the setLockMode and setHint methods. Every @NamedQuery annotation |