About cascade

41-50 of 200Refresh
Issue
4

Freeze during save

.o.TVS.cascade(TVS.java:157) at com.objectdb.o.OBM.aO(OBM.java:283) at com.objectdb ... it should show it. If there is no deadlock, it could be (according to the stack trace) an issue with cascading a persist operation ... . During cascading objects are tracked and every object is handled only once to avoid an endless loop
Forum
4

Persist error @ManyToMany how to define correct entities relationships

private long id; @ManyToMany(cascade=CascadeType.PERSIST) private List categories ... ; @ManyToMany(cascade=CascadeType.PERSIST) private List categories = new ... private long id; @ManyToMany(cascade=CascadeType.PERSIST) private List
Forum
4

persisting object with long[][] arrays of array

= FetchType.EAGER, cascade = CascadeType.ALL) public long[] time;     @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private long[][] a1;     @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private long[][] a2;     @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType
JPA Doc
4

CascadeType.ALL

Enum Constant javax.persistence.CascadeType ALL Cascade all operations Since: JPA 1.0
JPA Doc
4

CascadeType.DETACH

Enum Constant javax.persistence.CascadeType DETACH Cascade detach operation Since: JPA 2.0
JPA Doc
4

CascadeType.MERGE

Enum Constant javax.persistence.CascadeType MERGE Cascade merge operation Since: JPA 1.0
JPA Doc
4

CascadeType.PERSIST

Enum Constant javax.persistence.CascadeType PERSIST Cascade persist operation Since: JPA 1.0
JPA Doc
4

CascadeType.REFRESH

Enum Constant javax.persistence.CascadeType REFRESH Cascade refresh operation Since: JPA 1.0
JPA Doc
4

CascadeType.REMOVE

Enum Constant javax.persistence.CascadeType REMOVE Cascade remove operation Since: JPA 1.0
Forum
4

Merge Issue: Attempt to reuse an existing primary key value

object share the same child on a ManyToMany relationship with Cascade.ALL constraint. public final ...         private String name;         @ManyToMany(cascade = {                 CascadeType ... ();     }     @Entity     static class A {         @OneToMany(cascade=CascadeType.ALL)         List list