About delete

101-110 of 200Refresh
Forum
3

Date field Index is corrupted due to time change

Hi, can you shed some light on why we cannot delete data from the attached DB file. A delete ... that you got on an attempt to delete objects could happen with other operations as well. The common ... ).   The delete query we run is: DELETE FROM RecordingMetaData The exception is the same
Forum
2

Performance and memory usage of queries

requires so much memory. In the implementation of our UnitTests we have used "DELETE FROM Object" to delete ... .setFlushMode(FlushModeType.AUTO);   em.getTransaction().begin();   Query q = em.createQuery("DELETE ... had an issue several times with deleting many object at once. I didn't have time to report it, but I
Forum
2

Server closes if large query runs out of memory

if you can provide a memory heap snapshot. The memory problem occurred during JDO deletion query, and the temp threshold was set and was low (64mb).  There is an easy work-around, which is to divide up the deletion into smaller number of objects.  I understand that JPA bulk delete doesn't involve any object
Issue
2

Removed entities can be found by query in the same transaction

__odbtracker/m (type STA, value=Persistent-Deleted-Flushed) which shows that the entity is deleted ... what is the problem? best regards BTC If an entity was deleted from the database and the change ... - one with the deleted object and the other without the deleted object. Apparently the query
Issue
2

Blocked by find

to clear data for a particular id. The code looks like:    Query query = em.createQuery("DELETE FROM ... . Then it starts up 2 groups of 10 threads, one group is persisting more data, the other group is deleting the first set of data via delete statements. Eventually the test seems to grid to a halt - it needs
Issue
2

ClassCastException thrown when running count query

i have inserted. I'm currently evaluating your product. So i insert and delete a lot of data. I ... responsibility to avoid deletion from the database of objects that are still referenced by other objects ... a new build with the fix will be produced. The orphan Position records are there because i deleted some
JPA Doc
2

createNativeQuery(sqlString)

Method javax.persistence.EntityManager Query createNativeQuery(   String sqlString ) Create an instance of Query for executing a native SQL statement, e.g., for update or delete. Parameters: sqlString - a native SQL query string Returns: the new query instance Since: JPA 1.0
JDO Doc
2

deletePersistentAll(pcs)

Method javax.jdo.PersistenceManager void deletePersistentAll(   Collection pcs ) Delete a Collection of instances from the data store. Parameters: pcs - a Collection of persistent instances Since: JDO 1.0 See Also: deletePersistent(Object pc)
JDO Doc
2

deletePersistentAll(pcs)

Method javax.jdo.PersistenceManager void deletePersistentAll(   Object... pcs ) Delete an array of instances from the data store. Parameters: pcs - a Collection of persistent instances Since: JDO 1.0 See Also: deletePersistent(Object pc)
JDO Doc
2

flush()

Method javax.jdo.PersistenceManager void flush() Flushes all dirty, new, and deleted instances to the data store. It has no effect if a transaction is not active. If a datastore transaction is active, this method synchronizes the cache with the datastore and reports any exceptions. If an optimistic