About bulk delete

1-10 of 200Refresh
Manual
92

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
Manual
87

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
Forum
41

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
JDO Doc
23

InstanceLifecycleEvent.DELETE

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

ObjectState.PERSISTENT_DELETED

Enum Constant javax.jdo.ObjectState PERSISTENT_DELETED Since: JDO 1.0
JDO Doc
23

ObjectState.PERSISTENT_NEW_DELETED

Enum Constant javax.jdo.ObjectState PERSISTENT_NEW_DELETED Since: JDO 1.0
Manual
14

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA.
Issue
14

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. Bulk load of eager mapped by (inverse) singular references is now supported in build 2.4.4_13. kborkowski lwalkowski
Forum
11

Delete object from collection versus delete from JPQL

persist() to write them to the database.  But does running a JPQL update or delete alter the in-memory ... , but I'm not sure if that will alter my program state.  Will it? Thanks, Lee  UPDATE and DELETE queries ... between memory and database objects. See these manual pages for more details: DELETE queries UPDATE
Result
8

What is new in ObjectDB 2.0?

trips in JDO bulk operations (e.g. refreshAll). JDO Enhancer supports enhancing of complete JAR files.