About query

41-50 of 200Refresh
JDO Doc
26

addSubquery(sub, variableDeclaration, candidateCollectionExpression, parameter)

Method javax.jdo.Query void addSubquery(   Query sub,   String variableDeclaration,   String candidateCollectionExpression,   String parameter ) Add a subquery to this query. The String version ... the subquery. Parameters: sub - the subquery to add to this Query variableDeclaration - the name
JPA Doc
26

getSingleResult()

Method javax.persistence.Query Object getSingleResult() Execute a SELECT query that returns ... query language UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds the query timeout value set and only the statement is rolled back TransactionRequiredException - if a lock
JDO Doc
26

newQuery(language, query)

Method javax.jdo.PersistenceManager Query newQuery(   String language,   Object query ) Create a new Query using the specified language. Parameters: language - the language of the query parameter query - the query, which is of a form determined by the language Returns: the new Query Since: JDO 1.0
JDO Doc
26

newQuery(query)

Method javax.jdo.PersistenceManager Query newQuery(   String query ) Create a Construct a new query instance using the specified String as the single-string representation of the query. Parameters: query - the single-string query Returns: the new Query Since: JDO 2.0
JPA Doc
25

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

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

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

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
25

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
Manual
25

Database Explorer [2011-09-21]

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