ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh

Best practice: Database update/migration of embedded databases in products

is now held otherwise. The product store user data in the ObjectDB-Database. Example: V1.0: EntityPerson ... : [name=”Max Mustermann”; zip=”26135”; city=”Oldenburg”] How can we load the Database DB1 ... , but not V1.0 -> V2.0 directly, and you make sure that on upgrade all the old objects are converted

GROUP BY and HAVING clauses

clause. When a GROUP BY clause exists in a JPQL query, database objects (or tuples of database objects ... over all the Country objects in the database. The GROUP BY clause groups these Country objects by ... properties of generated groups instead of individual objects and fields. The position of a GROUP BY

JPA Query Structure (JPQL / Criteria)

rather than just field values from database tables, as with SQL. That makes JPQL more object oriented friendly ... JPQL Query The following query retrieves all the Country objects in the database: SELECT c FROM ... over objects in the database. A query variable that is bound to an entity class is referred to as

JPA Lifecycle Events

(added to the EntityManager). @PostPersist - after storing a new entity in the database (during commit or flush). @PostLoad - after an entity has been retrieved from the database. @PreUpdate ... the database (during commit or flush). @PreRemove - when an entity is marked for removal in

ObjectDB Overview

The ObjectDB Object Database ObjectDB is a powerful Object-Oriented Database Management ... Features 100% pure Java Object-Oriented Database Management System (ODBMS). No proprietary API - managed ... and Spring. See the ObjectDB Object Database Features for more details.

Setting and Tuning of JPA Queries

since the setter methods in Query and TypedQuery support method chaining (by returning the query object on which they were invoked). Flush Mode (setFlushMode) Changes made to a database using an EntityManager ... . Therefore, before a query is executed, uncommitted database changes (if any) have to be flushed to the database in

Step 3: Add a Main Class

.createEntityManager(); // Store 1000 Point objects in the database: em.getTransaction().begin ... of Point objects in the database: Query q1 = em.createQuery("SELECT COUNT(p) FROM Point p ... 1000 Point objects in the database, and then runs a few queries, including a query that retrieves


to the database will not be persisted. Since: JPA 1.0 boolean contains(Object entity) Check ... for each object that failed the consistency check. No datastore resources acquired during the execution ... - a criteria query object Returns: the new query instance Throws: IllegalArgumentException - if the criteria


Static Field javax.jdo.Constants String OPTION_MAPPING_HETEROGENEOUS_OBJECT_TYPE "javax.jdo.option.mapping.HeterogeneousObjectType" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()

ObjectDB 1.0 Manual

Welcome to the ObjectDB for Java/JDO Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JDO (Java Data Objects), the revolutionary database programming ... and delete database objects. Chapter 7 - JDOQL Queries Describes JDOQL, the JDO Query Language. The last

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