Home » Search

About remove

121-130 of 200Refresh
Forum
2

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
2

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
2

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
2

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
2

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
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