About removal

11-20 of 200Refresh
Forum
23

Entity not removed 100%

When I remove an object from a class it get's removed but the other objects that had that object as ... .ALL) This is what it remains when I check the removed object from another object's attributes     It is the application responsibility to clear references to removed objects. Cascading removal operates
Forum
23

Remove a modified entity cause an optimistic lock exception

Hello, the following examples load and modify an entity, and load and remove the same entity ... that can still show the unexpected behaviour (i.e. remove unnecessary bundles, entity classes, JPA ... FlushModeType.AUTO?) Removing the object. Committing the changes. The console application is the same
Forum
23

Removing objects where ManyToMany relationships exist

setOfOtherEntities;   } Now consider a number of OtherEntities are removed from the database ... that are referenced in a TreeSet automatically removed as well, so, the TreeSet is reduced in size? Or ... go through all Entities in the database to check if there's a TreeSet where an entry points to an to-be-removed
Forum
23

removed objects stay with null field values in the reference

(); When we remove an object that is in this relationship (workflow), the object stays in ... is when we  delete with a query use entityManager.remove  You have to remove the object from the set explicitly ... from the database, even if the object is not removed from the set explicitly. just to make sure
Issue
23

Schema-Update: Rename superclass and remove one subclass

Hello, we renamed a superclass and removed one of the subclass. If we then try to open the Database ... SuperClass to RenamedSuperClass and Remove the ChildClassB.
Forum
23

Attempt to remove a detached entity object (error 613)

to merge it ... Unfortunatly, i get this error : Failed to commit transaction: Attempt to remove ... this stack trace that is a commit operation, all right ... So why does it try to remove the object ... ( one element removed ). And objectdb maybe tries to remove the object ... But i was not able to reproduce
Issue
23

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

Hello! When the JPA entities are not enhanced the removal of an entry from a @OneToMany collection ... .getChildEntityContainer().remove("01"); does not work correctly with not enhanced JPA entities ... ();   entityManager.remove(parentEntity.getChildEntityContainer().get("01"));   parentEntity
Forum
23

Removing an entity throws exception

to remove customer entity, when it's read by a query (it's attached), it throws this exception ... more   After this exception is the entity detached (why?). When I merge it, I can remove it without problems ... are empty. The query: em.createQuery("select c from Customer c").getResultList(); Code for removing
Forum
22

can removing an entity throw an exception if the entity is in use?

me to remove an instance of A, even if a managed B has some reference to that A. When I then find ... to prevent the removal of the A, if it is referenced by any other object in the database? (ie. EntityManager.remove() should throw an exception.) Thanks, Carl       It is the application responsibility
Issue
22

Remove an entity which attributes were changed

and the entity is passed to plugin B. Plugin B changes an attribute on the entity. Plugin C removes ... exception of the removed entity.   If this operations on the entity are executed in only one plugin ... will be removed, if we use three OSGi plugins. The question was moved to the forum for further discussion. btc_es