ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
10

getLockMode()

Method javax.persistence.Query LockModeType getLockMode() Get the current lock mode for the query. Returns: lock mode Throws: IllegalStateException - if the query is found not to be a Java Persistence query language SELECT query or a Criteria API query Since: JPA 2.0
10

executeUpdate()

Method javax.persistence.Query int executeUpdate() Execute an update or delete statement. Returns ... Persistence query language SELECT statement or for a criteria query TransactionRequiredException - if there is no transaction QueryTimeoutException - if the statement execution exceeds the query timeout
9

getParameter(name, type)

Method javax.persistence.Query Parameter<T> getParameter( String name, Class<T> type ... is required to be supported for criteria queries only. Parameters: name - parameter name type - type ... not exist or is not assignable to the type IllegalStateException - if invoked on a native query or
9

QueryTimeoutException(query)

Constructor javax.persistence.QueryTimeoutException QueryTimeoutException( Query query ) Constructs a new QueryTimeoutException exception with the specified query. Parameters: query - the query. Since: JPA 2.0
9

QueryTimeoutException(message, cause, query)

Constructor javax.persistence.QueryTimeoutException QueryTimeoutException( String message, Throwable cause, Query query ) Constructs a new QueryTimeoutException exception with the specified detail message, cause, and query. Parameters: message - the detail message. cause - the cause. query - the query. Since: JPA 2.0
9

setFlushMode(flushMode)

Method javax.persistence.Query Query setFlushMode( FlushModeType flushMode ) 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. Parameters: flushMode - flush mode Returns: the same query instance Since: JPA 1.0
1

Query.JDOQL

Static Field javax.jdo.Query String JDOQL The string constant used as the first argument to PersistenceManager.newQuery(String,Object) to identify that the created query should obey the JDOQL syntax and semantic rules. This is the default query language used when creating a query with any
1

javax.jdo.annotations.Queries

javax.jdo.annotations Annotation Queries Target: Classes Annotation for a group of named queries. Since: JDO 2.1 Query[] value The named queries The named queries Returns: The named queries Since: JDO 2.1
0

setIgnoreCache(ignoreCache)

Method javax.jdo.Query void setIgnoreCache( boolean ignoreCache ) Set the ignoreCache option ... to create this Query. The ignoreCache option setting specifies whether the query should execute ... might be able to optimize the query execution by ignoring changed values in the cache. For optimistic
0

closeAll()

Method javax.jdo.Query void closeAll() Close all query results associated with this Query instance, and release all resources associated with them. The query results might have iterators open on them. Iterators associated with the query results are invalidated: they return false to hasNext() and throw NoSuchElementException to next(). Since: JDO 1.0

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