Home » Search

About delete

91-100 of 200Refresh
Forum
3

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
3

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
3

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
3

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
3

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
3

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
3

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
3

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
JPA Doc
3

getResultList()

Method javax.persistence.Query List getResultList() Execute a SELECT query and return the query results as an untyped List. Returns: a list of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query
JPA Doc
3

getResultList()

Method javax.persistence.TypedQuery List getResultList() Execute a SELECT query and return the query results as a typed List. Returns: a list of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException