Home » Search

About cascade

41-50 of 200Refresh
Forum
3

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
3

CascadeType.ALL

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

CascadeType.DETACH

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

CascadeType.MERGE

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

CascadeType.PERSIST

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

CascadeType.REFRESH

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

CascadeType.REMOVE

Enum Constant javax.persistence.CascadeType REMOVE Cascade remove operation Since: JPA 1.0
JDO Doc
3

javax.jdo.annotations.ForeignKeyAction

. Since: JDO 2.1 ForeignKeyAction CASCADE Since: JDO 2.1 ForeignKeyAction DEFAULT Since: JDO 2.1
Forum
3

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
JPA Doc
3

OneToMany.orphanRemoval

Annotation Element javax.persistence.OneToMany boolean orphanRemoval (Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities. Default value: false Since: JPA 2.0