Home » Search

About query

51-60 of 200Refresh
JDO Doc
30

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

setResult(data)

Method javax.jdo.Query void setResult(   String data ) Specifies what type of data this query should return. If this is unset or set to null, this query returns instances of the query's candidate class. If set, this query will return expressions, including field values (projections) and aggregate
JDO Doc
29

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
29

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
29

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
29

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
29

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
29

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
29

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
29

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