ObjectDB ObjectDB

Internal Website Search

1-10 of 125 resultsRefresh
178

query hint

some years ago there was a chat around query hints http://www.objectdb.com/issue/2417 we are currently trying that with the latest version but we do not see that our hint is used this is the query ... )) [[objectdb.query-plan-text=index(ctso['(TC)'->'(TC)']] but the index that is in the hint is not
101

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
101

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
44

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
33

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
23

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
19

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
19

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
18

javax.persistence.TypedQuery

Map<String,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
1

javax.jdo.JDOEntityManager

the PersistenceManager at transaction completion. This method allows the application to explicitly provide a hint ... and hints and associated values that are in effect for the entity manager. Get the properties and hints and associated values that are in effect for the entity manager. Changing the contents of the map

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support