About query

51-60 of 200Refresh
Manual
25

Database Explorer

to view data in ObjectDB databases, execute JPQL and JDOQL queries and edit the content of databases ... ) in the database and their persistent fields and indexes. The [Query] window enables running JPQL and JDOQL queries, as discussed below. Closing a Database Connection Use the File > Close menu command
JDO Doc
25

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
JPA Doc
25

getParameter(name, type)

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

getParameters()

Method javax.persistence.Query Set> getParameters() Get the parameter objects corresponding to the declared parameters of the query. Returns empty set if the query has no parameters. This method is not required to be supported for native queries. Returns: set of the parameter objects
JPA Doc
25

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
JPA Doc
25

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
JPA Doc
25

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
JPA Doc
25

setHint(hintName, value)

Method javax.persistence.Query Query setHint(   String hintName,   Object value ) Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties ... for the property or hint Returns: the same query instance Throws: IllegalArgumentException
JDO Doc
25

setIgnoreCache(ignoreCache)

Method javax.jdo.Query void setIgnoreCache(   boolean ignoreCache ) Set the ignoreCache option ... used 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
JDO Doc
25

close(queryResult)

Method javax.jdo.Query void close(   Object queryResult ) Close a query result and release any ... open on it. Iterators associated with the query result are invalidated: they return false to hasNext() and throw NoSuchElementException to next(). Parameters: queryResult - the result of execute(...) on this Query instance. Since: JDO 1.0