About delete

91-100 of 200Refresh
JPA Doc
4

javax.persistence.LockModeType

. Another transaction T2 then modifies or deletes that row, before T1 has committed. Both transactions eventually ... reads a row. Another transaction T2 then modifies or deletes that row, before T1 has committed or rolled
JPA Doc
4

javax.persistence.EntityManager

., for update or delete. 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
Issue
4

Removing of an entity removes also another entity type

. All ResolverMapping entities are removed by a query (DELETE FROM ...), afterwards ResolverMapping entities ... a query (DELETE FROM ...) then it performs. The data is not lost. This workaround prevent ... . Please note that mixing direct DELETE / UPDATE database queries with EntityManager's operations is known as
Forum
4

Method Invocation On All Entities

Deleting or changing a field of all the entities of some type is fairly easy, using the DELETE ... should do some operations before it gets deleted, and at some point we want to delete all those entities. It could be usefull if we could invoke some "doBeforeDie" method before the deletion. One way to achive
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
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
Issue
3

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

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