About cascade

171-180 of 200Refresh
Forum
1

On initialisation of lists: impact on migration from EclipseLink to ObjectDB

() @OneToMany(cascade=CascadeType.ALL) public List getBlocks() { return blocks
Forum
1

orphanRemoval = true not working when CascadeType.REMOVE is disabled

try use  @OneToMany(cascade = CascadeType.REMOVE) Address entities used Employee (id=1) deleted
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