About bulk delete

71-80 of 200Refresh
Forum
3

find() cost unreasonable time!

=11, 4096 nodes, 10.625000 seconds For each 'y', I delete the .odb file. > I do read your Instructions ... navigation is also expected to be faster than find since entities are retrieved in bulk. gzdillon
Issue
3

NullPointerException when using multithreading

on the implementation, you will need to delete the odb file between each execution of the application. Thank ... embedded mode instead of client server mode. Persisting bulk of objects every transaction (instead
JPA Doc
2

javax.persistence.Query

Chapter 4 of the ObjectDB/JPA manual. int executeUpdate() Execute an update or delete statement. Execute an update or delete statement. Returns: the number of entities updated or deleted Throws ... Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query execution
JDO Doc
2

javax.jdo.listener.DeleteCallback

to notify instances of delete events. Since: JDO 2.0 void jdoPreDelete() Called before the instance is deleted. Called before the instance is deleted. This method is called before the state transition to persistent-deleted or persistent-new-deleted. Access to field values within this call are valid
JDO Doc
2

Element.dependent

Annotation Element javax.jdo.annotations.Element String dependent Whether the element is dependent on the owner, and will be deleted when the owner is deleted. Returns: whether the element is dependent on the owner, and will be deleted when the owner is deleted Default value: "" Since: JDO 2.1
JDO Doc
2

isDeleted(pc)

whether the parameter instance has been deleted. Instances that have been deleted in the current transaction return Boolean.TRUE. Instances known by the implementation to be non-deleted return Boolean.FALSE. Instances ... if the parameter instance was deleted in the current transaction. Since: JDO 2.0
JDO Doc
2

javax.jdo.InstanceCallbacks

the instance is deleted. Called before the instance is deleted. This method is called before the state transition to persistent-deleted or persistent-new-deleted. Access to field values
JDO Doc
2

javax.jdo.annotations.Persistent

are dependent and so deleted when this object is deleted. Whether related object(s) of this member are dependent and so deleted when this object is deleted. Returns: whether the related object(s
JDO Doc
2

deletePersistent(pc)

Method javax.jdo.PersistenceManager void deletePersistent(   Object pc ) Delete the persistent ... persistent, the closure of the instance is not deleted from the data store. This method has no effect if the instance is already deleted in the current transaction. This method throws JDOUserException
JDO Doc
2

isDeleted(pc)

Static Method javax.jdo.JDOHelper boolean isDeleted(   Object pc ) Tests whether the parameter instance has been deleted. Instances that have been deleted in the current transaction return true ... . Parameters: pc - the PersistenceCapable instance. Returns: true if the parameter instance was deleted in