Home » Search

About removed

11-20 of 200Refresh
Forum
22

Is it possible to remove parent/child entities without refresh?

We have a big entity object tree in our project. If I use the entityManager.remove(childEntity) method to remove a child entity a entityManager.refresh(parentEntity) is necessary in order ... . Do you know a way to remove a child entity from a parent entity without a entityManager.refresh
Forum
21

Remove not working

] - 226 (removed in current transaction) at com.objectdb.o.JPE.g(JPE.java:94) at com.objectdb.o.ERR.f ... .TVS.g(TVS.java:105) at com.objectdb.o.TVS.g(TVS.java:93) at com.objectdb.jpa.EMImpl.remove(EMImpl ... {         Unit byName = unitDAO.findByName("6ff4b08a");         em.remove(byName);     } The unit
Forum
21

remove() and persist() in same transaction => Attempt to reuse an existing primary key value

(another table). On this point we get no conflicts. If we remove additional data for Entity (B) and then the special Entity (A) is empty, we remove the special Entity (A). If we add additional data for Entity ... transaction: first remove additional Data -> The special Entity (with id 1) is empty and we remove
Issue
20

Issue with cascade delete & add/remove

. However, when removing an Address from the collection and immediately adding it again to the collection (within one transaction!) then the Address entity is yet removed from the database, eventhough ... to clear the collection first, commit that and then remove the Contact? thanks! Any Update
Forum
20

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
20

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
20

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
20

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
20

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
20

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