Home » Search

About cascade

41-50 of 195Refresh
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
JPA Doc
3

OneToOne.orphanRemoval

Annotation Element javax.persistence.OneToOne 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
Forum
3

How to Remove records from many to many relationship tables in JPA

TransportationEvent { ... @ManyToMany(fetch = FetchType.EAGER, cascade = CascadeType.PERSIST) private ... Conclusion { .... @ManyToMany( fetch = FetchType.LAZY, cascade = CascadeType.PERSIST) private List ... ' by searching some forums i got syntax like @Cascade(org.hibernate.annotations.CascadeType.DELETE