ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh

WHERE clause (JPQL / Criteria API)

to function as a filter. The boolean expression in the WHERE clause, which is also known as ... is always a boolean JPQL expression. JPQL expressions are also used in other JPQL query clauses ... one Expression<Boolean> argument and uses it as the WHERE clause content (overriding previously set

ObjectDB Object Database Features

(for persistent fields) Primitive types (boolean, byte, short, char, int, long, float, double). Wrapper types (Boolean, Byte, Short, Character, Integer, Long, Float, Double). java.lang.String Date types: java ... - multiple @Id fields or a @EmbeddedId field. Primary Key Data Types Primitives (boolean, byte, short

Comparison in JPQL and Criteria API

of the boolean and Boolean types can be compared by equality operators (=, <>, ==, !=) which follow the logic of Java's equals (for Boolean instances). Enum values can be compared by using the equality

Retrieving JPA Entity Objects

: PersistenceUtil util = Persistence.getPersistenceUtil(); boolean isObjectLoaded = util.isLoaded(employee); boolean isFieldLoaded = util.isLoaded(employee, "address"); As shown

[ODB1] Chapter 6 - Persistent Objects

: boolean b1 = JDOHelper.isPersistent(obj); boolean b2 = JDOHelper.isTransactional(obj); boolean b3 = JDOHelper.isNew(obj); boolean b4 = JDOHelper.isDeleted(obj); boolean b5 = JDOHelper


to the database will not be persisted. Since: JPA 1.0 boolean contains(Object entity) Check ... - entity instance Returns: boolean indicating if entity is in persistence context Throws ... the cache. Since: JDO 1.0 See Also: evict(Object pc) void evictAll(boolean subclasses, Class pcClass


.0 See Also: evict(Object pc) void evictAll(boolean subclasses, Class pcClass) Mark the parameter ... flag (see Transaction.setRollbackOnly). Since: JDO 2.0 boolean getCopyOnAttach() Gets ... See Also: setCopyOnAttach(boolean) JDOConnection getDataStoreConnection() If this method is called


can handle the request. For JDOHelper isXXX methods, which return boolean, the corresponding method in StateInterrogation returns Boolean. If the return value is null then the StateInterrogation does ... ) PersistenceCapable.jdoGetObjectId() PersistenceManager.getObjectById(Object oid, boolean validate


store connection. Since: JDO 1.0 boolean getCopyOnAttach() Gets the default copyOnAttach setting ... . Since: JDO 2.1 See Also: setCopyOnAttach(boolean) DataStoreCache getDataStoreCache() Return ... : the DataStoreCache Since: JDO 2.0 boolean getDetachAllOnCommit() Gets the detachAllOnCommit setting. Gets

[ODB1] Chapter 4 - JDO Metadata

shown above) can have any of the following types: embedded value types: primitive type (boolean, byte, short, char, int, long, float or double) embedded wrapper (Boolean, Byte, Short, Character

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