About remove

131-140 of 200Refresh
Forum
1

Best practice: Database update/migration of embedded databases in products

. Attributes added, removed and renamed. If attributes were removed, then only because the data ... evolution - for adding and removing fields and for class hierarchy change. Configuration schema ... the database in their new form, you can remove the fields firstName and familyName from V2.0.   btc_es
Issue
1

Blocked by find

guess the delete is slower and gives the appearance of being blocked.   Using find & remove seems to hit similar problems. See attached test - you can switch between delete statements and find/remove by ... definitely helps the load and remove method of deleting - the test now completes when using
Forum
1

Bulk Delete and Update - best practice?

to update/remove a large number of objects? I've had success with the "drop" keyword in ... which works consistently is to load and remove objects (one by one or small batches ... requires a larger heap size. This limitation may be removed in future releases, but even then, using
Forum
1

find() cost unreasonable time!

your Instructions "Keep the test as simple as possible - remove unnecessary code"! Ok, Class of Nodes ... "Keep the test as simple as possible - remove unnecessary code"! Anything that is required ... changes to your code: Remove mappedBy="parent" from the definition of Sons:     @OneToMany(fetch
Forum
1

How to delete M2M relationship?

).getId()==u.getId()){ em.remove(u.getTimeslots()); break ... .printStackTrace(); } return false; } Every entity object has to be removed by a separate invocation of the remove method. Removing a set of time slots in one invocation (as in your code) is not
Issue
1

InternalException

is possible as a result of schema change, in which id fields are removed. Notice that changing the primary ... , the actions are: Open a new transaction Load an object from the database Remove the object Commit ... entityManager is opened & closed for each action (load, remove, etc). When an update has occurred the actions
Issue
1

InternalException during producer/consumer scenario

objects into a table while consumer threads remove the objects based on age, priority, etc. There are 2 ... .jpa.EMImpl.remove(EMImpl.java:377) at rbccm.felix.objectdb.messaging.ObjectDbMessagePipe ... (TYM.java:840) at com.objectdb.o.TVS.g(TVS.java:93) at com.objectdb.jpa.EMImpl.remove(EMImpl.java
Forum
1

Issue with orphanRemoval and multiple EntityManagers

multithreaded application). When I create a child entity in one transaction and then remove it in another transaction, the database still contains 1 child entity. If I remove it and add another child entity ... this test merge is not really needed so removing the merge solves the problem. Detecting orphan objects in
Forum
1

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

welcome. Well, you're asking me to remove the problem. The problem is that redeploying the application ... for this, because it's holding back my team. Thanks again. > Well, you're asking me to remove ... . That's a real pain. In the first app I encountered this I had to remove @Enumerated with Long, and add
Forum
1

Schema Update: class hierarchy change

/899 that ObjectDB support automatic schema evolution for adding and removing fields and for class ... hierarchy (remove field name from MyEnity) -> it works (but we lost the content of field 'name ... , could you please explain it further?   Suppose we have a change, in which a class is removed from