Home » Search

About cascade

171-180 of 195Refresh
Forum
1

Performance tuning, best practices

" />             <cascade-persist always="auto
Forum
1

PostUpdate collection null

;                 @OneToMany(fetch=FetchType.EAGER, cascade=CascadeType.PERSIST)         List
Forum
1

Problem with merging / persisitng objects with @Embeddable field

, cascade = CascadeType.ALL) List productDemands; @Entity public class ProductDemand
Forum
1

Relationship Annatations

hi,   what is the purpose of annotating a field with a RDB relationship shuch as OneToMany. ManyToMany etc? Using these annotations is optional in ObjectDB but required by standard JPA. You still need these annotations in ObjectDB to specify cascading / fetch policy and other settings. sprintf
Issue
1

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

;   } } @Entity public static class ParentEntity {   @OneToMany(fetch = FetchType.LAZY, cascade
Forum
1

Removing an element from an @OneToMany doesn't work

Hello. I have a Parent and Child entities. // in the parent @OneToMany(mappedBy = "parent", fetch = FetchType.EAGER, cascade = CascadeType.ALL) private List children; // in the child @ManyToOne private Parent parent; Somewhere I do this: parent.getChildren().remove(0
Forum
1

Removing an entity throws exception

; private String name; private String surname; @OneToOne(cascade=CascadeType.ALL, fetch
Forum
1

Repair broken references in entities

Hello, it is possible to recover an entity that has been removed automatically by CascadeType.Remove. After cascade remove the removed entity will be persisted with the identical primary key. Are all broken references in other entities on this removed/persisted entity repaired again? best regards
Forum
1

Replication Issue

" />                                 <cascade-persist always="auto
Forum
1

Soft Reference Object Cache Recommendation

" that is a strong reference to that SoftReference.  Under "i", I see cascading ENT and ENT[] references and a lot