About example

31-40 of 200Refresh
Manual
16

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

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
14

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
12

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
12

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
12

UPDATE SET Queries in JPA/JPQL [2011-11-22]

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
12

JPA Persistable Types

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

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 ... key and the version attributes and the super type. For example: // Get the super type
JPA Doc
10

JPA Exceptions

the PersistenceException class. Some specific errors are represented by subclasses of PersistenceException. For example ... ) . For example, if a transaction fails because of an attempt to store a new entity object with a primary ... to retrieve entity objects from the database. For example, when a required entity object is not found: or
Result
10

Posting to ObjectDB Website - Important Instructions

. Avoid overflow of published source code examples by breaking long lines. Long stack traces (> 50 lines) and complex source examples (> 100 lines) should be posted as attachments. 3. Sample Code ... ). You may use the following example as an initial template for your test case: package test