ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
75

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
16

UPDATE SET Queries in JPA/JPQL

the content of specified entity objects in the database. Updating entity objects in the database using ... with the database. For example, the EntityManager may not be aware that a cached entity object in ... Existing entity objects can be updated, as explained in chapter 2, by: Retrieving the entity
15

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
15

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
15

Paths and Types in JPQL and Criteria API

over all the Country objects in the database. For a country with no capital city, such as Nauru, c.capital ... of all the entity objects in the database, excluding Country entity objects: SELECT COUNT(e) FROM ... is an extension of ObjectDB that can be used to iterate over all the entity objects in the database
14

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
13

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.
3

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
1

javax.jdo.JDOEntityManager

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
1

Constants.OPTION_MAPPING_HETEROGENEOUS_OBJECT_TYPE

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

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