About example

31-40 of 200Refresh
Manual
22

Retrieving JPA Entity Objects

the referenced object is already managed by the EntityManager). In the example above, when an Employee instance ... cascading retrieval for the field. In the above example, when an Employee instance is retrieved ... interaction with the database and makes database programming easier. For example, after retrieving
Forum
22

Groovy JPA example

Groovy JPA example
Forum
22

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1
Manual
21

Numbers in JPQL and Criteria Queries

numeric promotion principles. For example, the resulting type of a binary arithmetic operation ... . For example: ABS(-5) is evaluated to 5 ABS(10.7) is evaluated to 10.7 The ABS function takes as ... operator (%) in Java (which is also supported by ObjectDB as an extension). For example: MOD(11, 3
Manual
19

Collections in JPQL and Criteria Queries

] EMPTY operator checks whether a specified collection is empty or not. For example: c.languages ... of elements in a specified collection. For example: SIZE(c.languages) is evaluated to the number ... is contained in a specified persistent collection field. For example: 'English' MEMBER OF c
Manual
17

JPA Metamodel API

by the EntityManager's getMetamodel method (both methods are equivalent). For example, given ... for exploring managed fields and properties (which are referred to as attributes). For example ... on the primary key and the version attributes and the super type. For example: // Get the super type
Manual
17

JPA Persistable Types

, its date and time fields are automatically adjusted to the requested mode. For example, fields date1 ... from the database. For example, the Arrays.asList method returns an instance of an internal Java ... the original classes and enable transparent activation and transparent persistence. For example
Manual
17

Paths and Types in JPQL and Criteria API

. For example - c.capital, where c represents a Country entity object uses the capital persistent field ... is a persistable user class can be extended further by reusing the dot (.) operator. For example, c ... type method. For example, the following criteria expression checks if the type of a specified entity e
Manual
17

UPDATE SET Queries in JPA/JPQL

with the database. For example, the EntityManager may not be aware that a cached entity object in ... instances of subclasses). For example, the following three equivalent queries increase the population ... expressions, separated by commas, are also allowed. For example: UPDATE Country SET population = 0
Manual
15

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