Home » Search

About query

41-50 of 200Refresh
JDO Doc
27

addSubquery(sub, variableDeclaration, candidateCollectionExpression, parameters)

Method javax.jdo.Query void addSubquery(   Query sub,   String variableDeclaration,   String candidateCollectionExpression,   Map parameters ) Add a subquery to this query. The Map version ... without the leading ":", and the value as the name of the expression in the outer query. If the trimmed
JPA Doc
27

getResultList()

Method javax.persistence.Query List getResultList() Execute a SELECT query and return the query ... for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds the query timeout value set and only the statement is rolled
JPA Doc
27

setLockMode(lockMode)

Method javax.persistence.Query Query setLockMode(   LockModeType lockMode ) Set the lock mode type to be used for the query execution. Parameters: lockMode - lock mode Returns: the same query instance 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
27

addSubquery(sub, variableDeclaration, candidateCollectionExpression)

Method javax.jdo.Query void addSubquery(   Query sub,   String variableDeclaration,   String candidateCollectionExpression ) Add a subquery to this query. Parameters: sub - the subquery to add to this Query variableDeclaration - the name of the variable in the outer query to bind the results
JDO Doc
27

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
27

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
27

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
27

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

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

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