 15 | - which represents an exclusive lock. Setting a Pessimistic Lock An entity object can be locked ... can be set to allow waiting for a pessimistic lock for a specified number of milliseconds. The hint can be set in several scopes: For the entire persistence unit - using a persistence.xml property |
 13 | 64 bit number (long) that is set automatically by ObjectDB for every new entity object that is stored ... key field:
@Entity
public class Project {
@Id @GeneratedValue long id; // still set ... value generation is discussed in detail in the Generated Values section. Application Set Primary Key |
 13 | ObjectDB provides a rich set of features. Many features are implemented as part of ObjectDB's ... . Persistence is set using JPA/JDO annotations (e.g. @Entity, @Id, @Index). Transparent activation ... .lang.BigDecimal. Collection types: Collection, List, Set, ArrayList, Vector, Stack, LinkedList |
 13 | ObjectDB provides a rich set of features. Many features are implemented as part of ObjectDB's ... . Persistence is set using JPA/JDO annotations (e.g. @Entity, @Id, @Index). Transparent activation ... .lang.BigDecimal. Collection types: Collection, List, Set, ArrayList, Vector, Stack, LinkedList |
 13 | ObjectDB provides a rich set of features. Many features are implemented as part of ObjectDB's ... JPA is very simple, except for mapping, which is irrelevant to ObjectDB. Persistence is set using JPA ... types: Collection, List, Set, ArrayList, Vector, Stack, LinkedList, ArrayDeque, PriorityQueue |
 12 | language from a specified set of languages:
SELECT c, l FROM Country c JOIN c.languages l
WHERE c ... Queries The CriteriaQuery interface provides two where methods for setting the WHERE clause. Single ... the WHERE clause content (overriding previously set WHERE content if any). For example, the following JPQL |
 12 | query API provides several ways for setting the SELECT clause. Single Selection Setting a single ... .get("currency")).distinct(true);
The select method takes one argument of type Selection and sets it as the SELECT clause content (overriding previously set SELECT content if any). Every valid criteria API |
 12 | setting the "objectdb.home" system property:
System.setProperty("objectdb.home", "/odb"); // new $objectdb
As with any other system property it can also be set as an argument to the JVM ... file is loaded from $objectdb/objectdb.conf. You can specify an alternative path by setting |
 11 | to prepare and optimize an execution plan. Since: JDO 1.0 void declareImports(String imports) Set the import statements to be used to identify the fully qualified name of variables or parameters. Set ... is executed with the parameters set by the Map values. Each Map entry consists of a key which is the name |
 11 | are subject to eviction based on the RetainValues setting. Since: JDO 1.0 See Also: evict(Object pc ... . If exceptions occur during flush, the implementation will set the current transaction's ... the copyOnAttach setting. Gets the copyOnAttach setting. Returns: the copyOnAttach setting. Since: JDO 2.1 |