About bulk delete

71-80 of 200Refresh
JDO Doc
2

deletePersistentAll()

Method javax.jdo.Query long deletePersistentAll() Deletes all the instances of the candidate class that pass the filter. Returns the number of instances of the candidate class that were deleted ... if deletePersistent were called on them. Specifically, if the class of deleted instances implements
JDO Doc
2

javax.jdo.annotations.Element

) for the element Default value: {} Since: JDO 2.1 ForeignKeyAction deleteAction Delete action to apply to any foreign key for the element. Delete action to apply to any foreign key for the element. Returns: delete action to apply to any foreign key for the element Default value: javax.jdo.annotations
Forum
2

How best to unbind all names?

My JDO application does inserts with binds, and then subsequently does bulk deletes using this code: pm.currentTransaction().begin(); Extent extent = pm.getExtent(ABC.class, true); Query q ... " bindings (bookmarks). Instead of the above code, I could iterate over the Extent and delete the entities
JDO Doc
2

javax.jdo.listener.DeleteLifecycleListener

This interface is implemented by listeners to be notified of delete events. Since: JDO 2.0 void postDelete( InstanceLifecycleEvent event) Invoked whenever a persistent instance is deleted, for example ... is deleted, for example during javax.jdo.PersistenceManager.deletePersistent. This method is called
JDO Doc
2

javax.jdo.annotations.Key

ForeignKeyAction deleteAction Delete action to apply to the foreign key for the key. Delete action to apply to the foreign key for the key. Returns: delete action to apply to the foreign key for the key ... Whether the key is dependent on the owner (and will be deleted when the owner is deleted). Whether the key
JDO Doc
2

javax.jdo.annotations.Value

: {} Since: JDO 2.1 ForeignKeyAction deleteAction Delete action to apply to any foreign key for the value. Delete action to apply to any foreign key for the value. Returns: delete action to apply to any ... Since: JDO 2.1 String dependent Whether the value is dependent on the owner (and will be deleted
JPA Doc
2

javax.persistence.TypedQuery

/JPQL queries in 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: IllegalStateException - if called for a Java Persistence query language SELECT statement
Forum
2

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
2

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
Issue
2

ArrayIndexOutOfBoundException

) at com.ysoft.cache.objectdb.ObjectCacheDB.delete(ObjectCacheDB.java:356) at com.ysoft.cache.objectdb.ObjectCacheDB.delete(ObjectCacheDB.java:347) at eu.ysoft.safeq.ors.CacheDBWrapper.delete(CacheDBWrapper.java:73) at ysoft.sqcore.job.CacheJobManager