About example

41-50 of 200Refresh
Manual
10

GROUP BY and HAVING clauses

calculations - the GROUP BY functions merely as a DISTINCT operator. For example, the above query ... which all the FROM/WHERE objects (or object tuples) are considered as one group. For example ... for setting the GROUP BY and HAVING clauses. For example, the following JPQL query: SELECT c
Manual
10

Shared (L2) Entity Cache

classes except classes that are specified as Cacheable explicitly. For example: @Cacheable // or ... that are specified as non Cacheable explicitly. For example: @Cacheable(false) @Entity public class ... can also be overridden for a specific retrieval operation. For example: em.find(MyEntity2.class
Manual
10

WHERE clause (JPQL / Criteria API)

filters tuples before passing them to the SELECT clause. For example, the following query retrieves ... the WHERE clause content (overriding previously set WHERE content if any). For example, the following JPQL ... (overriding previously set WHERE content if any): For example, the following JPQL query: SELECT c
Manual
10

DELETE Queries in JPA/JPQL

. For example, the EntityManager may not be aware that a cached entity object in its persistence ... of subclasses) from the database. For example, the following three equivalent queries delete all the Country ... . A WHERE clause, which is essential for removing selected entity objects, is supported. For example
Manual
10

Setting and Tuning of JPA Queries

. These methods support the implementation of efficient result paging. For example, if each result ... that has to be applied on all the result objects that the query retrieves. For example, the following query ... all the queries in that scope (unless it is overridden in a more local scope). For example, setting a query
Manual
10

ORDER BY clause (JPQL / Criteria API)

, for example, is invalid because the ORDER BY expression is not part of the results: SELECT c.name ... can order these groups. For example: SELECT c.currency, SUM(c.population) FROM Country c ... provides methods for setting the ORDER BY clause. For example, the following JPQL query: SELECT c FROM
Manual
10

Online Backup

file itself is created in that subdirectory with the name of the original database file. For example ... , and in client-server mode, relative to the ObjectDB home directory on the server side. For example, in ... a Thread instance that represents the backup run. This thread can be used, for example, for waiting
Manual
10

Comparison in JPQL and Criteria API

to <>. When at least one of the two operands is NULL, == and != implement the ordinary Java logic, in which, for example, null == null ... detailed above. Therefore, for example, a double value can be compared to a BigInteger instance ... for building these expressions, as shown in the following examples: // Create String path
Manual
10

Locking in JPA

a PESSIMISTIC_READ lock on that database object. For example, consider the following code fragment: em1 ... one atomic operation. For example, the find method has a form that accepts a lock mode: Employee ... operation includes pessimistic locking, timeout can be specified as a property. For example
Manual
10

JPA Primary Key

primary key fields. Each primary key field must be one of the supported types listed above. For example ... ) of a specified managed entity object. For example: PersistenceUnitUtil util = emf ... useful when using queries that return large result sets. As an example, consider a real time