Home » Search

About orphan

1-10 of 18Refresh
Manual
88

Deleting JPA Entity Objects

object references, if any). Orphan Removal JPA 2 supports an additional and more aggressive remove ... of orphan removal this feature should only be enabled for fields that hold private non shared dependent objects. Orphan removal can also be set for collection and map fields. For example: @Entity class
Forum
4

How to Remove records from many to many relationship tables in JPA

_ORPHAN) and i applied that as @ManyToMany(fetch = FetchType.EAGER, cascade = {CascadeType.PERSIST, CascadeType.REMOVE}) @Cascade(org.hibernate.annotations.CascadeType.DELETE_ORPHAN ... .LAZY, cascade = CascadeType.ALL) @Cascade(org.hibernate.annotations.CascadeType.DELETE_ORPHAN
Issue
3

ClassCastException thrown when running count query

a new build with the fix will be produced. The orphan Position records are there because i deleted some ... when doing DELETE. I then tried to delete the orphans. Without success. Try this query: DELETE FROM
Forum
3

How best to unbind all names?

(); The volumes of items could be large so I am concerned that I will get a build-up of "orphan ... a 'name' field, which may be set as a primary key or as a unique index. This will also solve the orphan
Forum
3

Issue with orphanRemoval and multiple EntityManagers

this test merge is not really needed so removing the merge solves the problem. Detecting orphan objects in ... orphan entities) bugs are not identical. However, enhanced classes are much more efficient in
Issue
3

New Java 8 (JDK 1.8) Collection Methods

is that orphan removal does not happen as a result of removing a reference to an object (which becomes an orphan) using the new methods: removeIf(predicate) and remove(key, value). zmirc
Forum
3

OrphanRemoval not working?

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

ObjectDB version 2.2.7

Version 2.2.7 Added support of report generation using BIRT. Fixed a bug in query optimization of DISTINCT. Fixed a bug in keeping removed entity object in the L2 cache. Fixed orphan removal of owner entity object in bidirectional relationship. Fixed an "Attempt to persist a reference to a non
Result
2

ObjectDB version 2.4.0

detecting orphan entities in reflection mode. Fixed a bug in listing inherited persistent fields (in
Result
2

ObjectDB version 2.5.7

Version 2.5.7 Added Refresh toolbar button and accelerator key in the Explorer. Added support of retrieving database connection details. Fixed unstable activation in Mac OS. Fixed a bug in using FETCH JOIN in criteria queries. Fixed a bug in cascading remove when orphan removal is set. Fixed