About remove

121-130 of 200Refresh
Forum
2

OneToMany and cascade delete problem

. The problem is, that after removing product, all "connected" offers are also removed (cascade ... - Store is the owner. Therefore, you must remove a Product from the list of Product instances in a Store ... for misleading. Anyway - I just modified example (attached to this post). After removing Product, Offer
Issue
2

log entry and massive performance issues

times per day we have a simple object remove (entityManager.remove) that takes more than 5 minutes ... you get that log error once or is it repeating? Does it happen when the slow removal happens ... . Can you check version 2.7.4? Could you please provide more information about the removed object
Forum
1

Filename.odb$ Persisting Issue

and wait a bit for it to remove itself. Any ideas why this happens? Thanks, Dragon This may happen ... ();   emf.close(); } } I cannot/don't know how to remove external dependencies at this point since I ... (unknown to me) and doesn't always get removed when the application is terminated. At no point do I
Forum
1

Left join fetch behaviour doesn't retrieve children?

/ removing the mappedBy on the OneToOne annotation. Note that i don't create any entity on that attribute ... - Will you plan to invest more in that problem and provide a solution ? Thanks, Xirt Note : Removing ... - Wait ... On my AMD FX 8350, it took 60s Now, go the MyEntity class and remove "mapped-by
Forum
1

OrphanRemoval not working?

Invoice invoice; ... } I'm expecting, that removing invoiceitem from the list removes it from db ... this has no effect... Is there any mistake? Thank you Michael Orphan removal was not handled by ObjectDB ... modifications should be done on the owner side, but in the case of orphan removal the remove operation
Forum
1

possible index required for improving query performance

did help. However, it did not work until I removed the index on relationshipType. I've tried ... . It slowed down significantly after a few thousands records were added. I'm quite happy to remove ... index on 2 fields and a single index on one of them. Which index will it pick? 2. How do we remove
Forum
1

Pre-detach loading: retrieval by navigation not working in if statement

().getValue() - before the if statement - that the compiler will not remove.] This does not work ... () somewhere, but not using the result somehow (I guess the compiler just removes it, for the loading to be triggered ... NOT REMOVE if (lz.getPresent().getValue() != null && lz
Forum
1

Should derived fields of an EmbeddedId be manually maintained by app code?

.getOtherContainerRelationship(); if (oldReferer != null) { oldReferer.remove(o); } o.setOtherContainerRelationship(this); o.setOtherRelationshipKey(key); } private void remove ... case: Remove any unnecessary code. Do you really need 3 entity classes and 2 embeddable classes
Issue
1

Threaded Test - Failed to commit transaction: Unexpected internal exception

(                     LockModeType.PESSIMISTIC_WRITE).getSingleResult();                 em.remove(p ... , etc, but I'm constrained by an existing system. If I remove the @Id attribute it works ok ... thread inserts object into the "queue" database Consumer thread reads and removes an object from
Issue
1

ArrayIndexOutOfBoundException

. This requires fixing the application (making sure that references to deleted objects are removed to avoid broken ... tests of concurrent persist/find/remove/update operations, but unfortunately we couldn't reproduce ... persist in cascade, but explicitly by calling persist. The problem dissapeared when removing