Home » Search

About cascade

171-180 of 200Refresh
Forum
1

OrphanRemoval not working?

Dear all, I have entities Invoice and InvoiceItem, their relation is defined: public class Invoice implements Serializable { ... @OneToMany(mappedBy="invoice", fetch=FetchType.EAGER,              orphanRemoval=true, cascade=CascadeType.ALL) private List invoiceItemList
Forum
1

Out of memory

" level2="0" /> <cascade-persist always="auto" on-persist="false" on-commit="true
Forum
1

OutofMemory error with Object DB 2.0

" /> <cascade-persist always="auto" on-persist="false" on-commit="true" />
Forum
1

Performance and memory usage of queries

{   @OneToMany(cascade = CascadeType.ALL)   private List list = new ArrayList
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