About remove

31-40 of 200Refresh
Issue
22

Persist & remove in same transaction

Remove the entity object, EntityManager is flushed & cleared, Transaction is not committed Count
Forum
22

Question: remove and recreate an object, do the references survive ?

that would remove the orphane references) ?   References should survive and become valid
Issue
22

Allow removal of entity class from ObjectDB & Explorer

to its data structure. When an entity class becomes unnecessary, we should be able to remove
Manual
22

DELETE Queries in JPA/JPQL

the entity objects into an EntityManager. Removing these objects from the EntityManager within an active transaction, either explicitly by calling the remove method or implicitly by a cascading operation ... entity objects from the database. Removing entity objects from the database using a DELETE query
Manual
18

Working with JPA Entity Objects [2011-04-18]

: New, Managed, Removed and Detached. When an entity object is initially created its state is New.  In ... the EntityManager’s remove method within an active transaction. The entity object changes its state from Managed to Removed, and is physically deleted from the database during commit. More details on object
Manual
18

Working with JPA Entity Objects

: New, Managed, Removed and Detached. When an entity object is initially created its state is New.  In ... the EntityManager’s remove method within an active transaction. The entity object changes its state from Managed to Removed, and is physically deleted from the database during commit. More details on object
Manual
16

Shared (L2) Entity Cache

can be removed from the cache by one of the evict methods: // Remove a specific entity object from the shared cache: cache.evict(MyEntity.class, Long.valueOf(id)); // Remove all the instances ... by removing all the cached entity objects: cache.evictAll(); The Cache interface and its methods are unnecessary in most applications.