About execute

51-60 of 200Refresh
Manual
10

CRUD Database Operations with JPA

. The getSingleResult method executes the query and returns the result. It should only be used ... the preferred way to work with queries. The getResultList method executes the query and returns
JPA Doc
10

javax.persistence.Query

execution. Since: JPA 1.0 See Also: TypedQuery Parameter Learn how to define and use JPA/JPQL queries in Chapter 4 of the ObjectDB/JPA manual. int executeUpdate() Execute an update or delete statement. Execute an update or delete statement. Returns: the number of entities updated or deleted Throws
JPA Doc
9

javax.persistence.EntityManager

for executing a named query (in the Java Persistence query language or in native SQL). Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL ... > resultClass) Create an instance of TypedQuery for executing a Java Persistence query language named query
JPA Doc
7

JPA Exceptions

during query execution: The lock exceptions (above) may also be thrown during retrieval, if database
Result
7

Apache License, Version 2.0, January 2004

of any separate license agreement you may have executed with Licensor regarding such Contributions
Manual
7

GROUP BY and HAVING clauses

The GROUP BY clause enables grouping of query results. A JPQL query with a GROUP BY clause returns properties of generated groups instead of individual objects and fields. The position of a GROUP BY clause in the query execution order is after the FROM and WHERE clauses, but before the SELECT
Manual
7

Paths and Types in JPQL and Criteria API

the query by adding a variable to the FROM clause (representing iteration during query execution
Manual
7

WHERE clause (JPQL / Criteria API)

difference in query execution time if proper indexes are defined. WHERE Filter in Multi Variable Queries In
Manual
7

JPA Query API

. Organization of this Section The following pages explain how to define and execute queries in JPA
Manual
7

ORDER BY clause (JPQL / Criteria API)

ORDER BY c.name When an ORDER BY clause exists it is the last to be executed. First the FROM