About query

61-70 of 200Refresh
JPA Doc
26

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
26

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
26

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
26

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

declareParameters(parameters)

Method javax.jdo.Query void declareParameters(   String parameters ) Declare the list of parameters query execution. The parameter declaration is a String containing one or more query parameter ... to a value when the query is executed. The String parameter to this method follows the syntax for formal
JDO Doc
25

executeWithArray(parameters)

Method javax.jdo.Query Object executeWithArray(   Object... parameters ) Execute the query and return the filtered Collection. The execution of the query obtains the values of the parameters ... of the query. It is then evaluated by the Boolean expression of the filter. The element passes
JDO Doc
25

getFetchPlan()

Method javax.jdo.Query FetchPlan getFetchPlan() Returns the FetchPlan used by this Query. Modifications of the returned fetch plan will not cause this query's owning PersistenceManager's FetchPlan to be modified. Returns: the fetch plan used by this query Since: JDO 2.0
JPA Doc
25

getFirstResult()

Method javax.persistence.Query int getFirstResult() The position of the first result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query object. Returns: position of the first result Since: JPA 2.0 Learn how to define and use JPA/JPQL queries in Chapter 4 of the ObjectDB/JPA manual.
JPA Doc
25

getParameter(position, type)

Method javax.persistence.Query Parameter getParameter(   int position,   Class type ) Get the parameter object corresponding to the declared positional parameter with the given position ... on a native query or Java Persistence query language query when the implementation does not support this use Since: JPA 2.0