Home » Search

About removal

11-20 of 200Refresh
Forum
19

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
19

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
18

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
18

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
18

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
18

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
17

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
17

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
17

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
17

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