About cascade

1-10 of 200Refresh
JPA Doc
108

ManyToMany.cascade

Annotation Element javax.persistence.ManyToMany CascadeType[] cascade (Optional) The operations that must be cascaded to the target of the association. When the target collection is a java.util.Map, the cascade element applies to the map value. Defaults to no operations being cascaded. Default value: {} Since: JPA 1.0
JPA Doc
108

OneToMany.cascade

Annotation Element javax.persistence.OneToMany CascadeType[] cascade (Optional) The operations that must be cascaded to the target of the association. Defaults to no operations being cascaded. When the target collection is a java.util.Map, the cascade element applies to the map value. Default value: {} Since: JPA 1.0
JPA Doc
107

ManyToOne.cascade

Annotation Element javax.persistence.ManyToOne CascadeType[] cascade (Optional) The operations that must be cascaded to the target of the association. By default no operations are cascaded. Default value: {} Since: JPA 1.0
JPA Doc
107

OneToOne.cascade

Annotation Element javax.persistence.OneToOne CascadeType[] cascade (Optional) The operations that must be cascaded to the target of the association. By default no operations are cascaded. Default value: {} Since: JPA 1.0
JDO Doc
105

ForeignKeyAction.CASCADE

Enum Constant javax.jdo.annotations.ForeignKeyAction CASCADE Since: JDO 2.1
Manual
37

Entity Management Settings

" />    <cascade-persist always="auto ... , which is not an entity class, mapped super class or embeddable class). The <cascade-persist> element <cascade-persist always="auto" on-persist="false" on-commit="true" /> The <cascade-persist
Forum
36

Cascading persistence through an inverse field

Hi! I was playing with cascading persistence with @ManyToMany and inverse @ManyToMany fields, and I noticed that I can only get cascading persistence in one direction. If the "owner ... -related code to keep it simple. @Entity public class PointCollection { @ManyToMany(cascade
Issue
36

New entity objects are duplicated on merge cascading

When merge is cascaded to a new entity object that has not been persisted ... = GenerationType.AUTO)         private Long id;                 @OneToMany(cascade= CascadeType ... object by a reference with cascading persist disabled. The following test case demonstrates
Issue
36

I can't get cascading delete to work in JDO

I enclose a Netbeans project which demonstrates the problem.  Cascading persist works, but cascading delete does not, leaving orphan objects. Thank you for this report. Apparently cascading delete ... documentation page). Build 2.7.5_04 implements cascading delete in JDO. Your NetBeans project was converted
Forum
36

Cascading merge() leading to "Attempt to persist a reference to a non managed instance" error

with a parent/child relationship and cascading merge() operations. The parent has an application defined id ... (cascade = CascadeType.ALL)     @SuppressWarnings("unused")     private Parent owner;     public ... or 159 Thanks for your assistance.   Thank you for reporting this problem. Cascading merge to new