ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
215

DELETE Queries in JPA/JPQL

As explained in chapter 2, entity objects can be deleted from the database by: Retrieving ... . Applying changes to the database by calling the commit method. JPQL DELETE queries provide an alternative way for deleting entity objects. Unlike SELECT queries, which are used to retrieve data from
191

Bulk Delete and Update - best practice?

The attached test creates 1000 large objects and then attempts to delete them all in one go using a DELETE statement. I'm trying to run with -Xmx512m but the test runs out of memory during the delete ... both tests with the default objectdb.conf. In general is an UPDATE/DELETE statement the most efficient way
90

Deleting JPA Entity Objects

Existing entity objects can be deleted from the database either explicitly by invoking the remove method or implicitly as a result of a cascade operation. Explicit Remove In order to delete an object ... transaction, it can be deleted using the remove method: Employee employee = em.find(Employee.class, 1
61

Bulk update of embedded entities in linked list

Hi, I'm trying to do a bulk update of a column in an embedded entity, but I end up with a query execution error because of the "." between the column name of the parent entity and column name of the child entity. The column in the parent entity represents a linked list of an embeddable class
13

Bulk load of eager mapped by (inverse) relationships

and collection of objects that have to be loaded eagerly are loaded in bulk for better performance ... in a bulk load, which means that every reference requires running a separate query and doing ... ) fields in bulk as well. support Support Bulk load of eager mapped by (inverse) singular references is now supported in build 2.4.4_13. support Support
12

UPDATE SET Queries in JPA/JPQL

Explains how to apply server side bulk update using a JPA/JPQL query.
2

ObjectState.PERSISTENT_NEW_DELETED

Enum Constant javax.jdo.ObjectState PERSISTENT_NEW_DELETED Since: JDO 1.0
2

ObjectState.PERSISTENT_DELETED

Enum Constant javax.jdo.ObjectState PERSISTENT_DELETED Since: JDO 1.0
2

InstanceLifecycleEvent.DELETE

Static Field javax.jdo.listener.InstanceLifecycleEvent int DELETE Since: JDO 2.0
1

[ODB1] Chapter 6 - Persistent Objects

is automatically stored in the database when the transaction is committed (unless it is being deleted ... the object exists in the database. If an object is deleted from the database, its unique ID ... operation of bind(...), because the object is not deleted from the database, just its name is removed

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