ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh
10

Paths and Types in JPQL and Criteria API

. But more often they are used in JPQL path expressions that navigate to values of simple types (number, boolean ... (number, boolean, string, date). For a path expression to be valid the user defined persistable class
10

JPA Metamodel API

has a single ID attribute: boolean hasSingleId = entityType.hasSingleIdAttribute(); // Gets a single ... attribute: boolean hasVersion = entityType.hasVersionAttribute(); // Gets the version attribute
10

javax.persistence.criteria.Subquery

Subquery<T> distinct(boolean distinct) Specify whether duplicate query results will be eliminated ... AbstractQuery method. Parameters: distinct - boolean value specifying whether duplicate results ... . Since: JPA 2.0 AbstractQuery<T> distinct(boolean distinct) Specify whether duplicate query results
9

javax.persistence.criteria.CriteriaQuery

> distinct(boolean distinct) Specify whether duplicate query results will be eliminated. Specify ... results must be retained. Parameters: distinct - boolean value specifying whether duplicate results ... query Since: JPA 2.0 CriteriaQuery<T> distinct(boolean distinct) Specify whether duplicate query results
8

javax.persistence.criteria.CriteriaBuilder

more restriction predicates Returns: and predicate Since: JPA 2.0 Predicate and( Expression<Boolean> x, Expression<Boolean> y) Create a conjunction of the given boolean expressions. Create a conjunction of the given boolean expressions. Parameters: x - boolean expression y - boolean expression Returns
7

javax.persistence.criteria.Predicate

javax.persistence.criteria Interface Predicate Superinterfaces: Expression<Boolean>, Selection<Boolean>, TupleElement<Boolean> Subinterfaces: In The type of a simple or compound predicate ... - if selection is not a compound selection Since: JPA 2.0 List< Expression<Boolean>> getExpressions() Return
7

javax.persistence.criteria.CriteriaBuilder.In

javax.persistence.criteria Interface CriteriaBuilder.In<T> Superinterfaces: Expression<Boolean>, Predicate, Selection<Boolean>, TupleElement<Boolean> Interface used to build in predicates. Since: JPA ... . Returns: expression Since: JPA 2.0 List< Expression<Boolean>> getExpressions() Return the top-level
1

[ODB1] Chapter 3 - Persistent Classes

are also persistent types: All the primitive types - boolean, byte, short, char, int, long, float and double. Selected classes in package java.lang: Boolean, Byte, Short, Character, Integer, Long, Float, Double, Number
0

javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache

evictAll(Class pcClass, boolean subclasses) Evict the parameter instances from the second-level ... evictAll(boolean subclasses, Class pcClass) Evict the parameter instances from the second-level cache ... : oids - Since: JDO 2.0 void evictAll(Class pcClass, boolean subclasses) Parameters: pcClass
0

javax.jdo.Transaction

: the transaction isolation level Since: JDO 2.2 See Also: setIsolationLevel(String) boolean ... of the nontransactionalRead property Since: JDO 1.0 boolean getNontransactionalWrite() If true, allows ... Since: JDO 1.0 boolean getOptimistic() Optimistic transactions do not hold data store locks until commit

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support