About delete

101-110 of 200Refresh
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
JPA Doc
2

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
2

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

getSingleResult()

query language UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds
JPA Doc
2

getSingleResult()

language UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds the query