About removal

31-40 of 200Refresh
Issue
22

Removed entities can be found by query in the same transaction

Hello, we opened a transaction, load an entity from database and removed this entity by em.remove(). Afterwards the entity can be load again by query although the resulted entity have an attribute __odbtracker/m (type STA, value=Persistent-Deleted-Flushed) which shows that the entity is deleted
Issue
21

Persist & remove in same transaction

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

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

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

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