Home » Search

About CascadeType

1-10 of 127Refresh
JPA Doc
80

javax.persistence.CascadeType

javax.persistence Enum CascadeType java.lang.Object java.lang.EnumCascadeType> javax.persistence.CascadeType Implemented Interfaces: Serializable, Comparable<CascadeType> Defines the set of cascadable operations that are propagated to the associated entity
JPA Doc
73

values()

Static Method javax.persistence.CascadeType CascadeType[] values() Returns an array containing the constants of this enum type. This method may be used to iterate over the constants as follows: for (CascadeType c : CascadeType.values()) System.out.println(c) Returns: an array containing
JPA Doc
71

valueOf(name)

Static Method javax.persistence.CascadeType CascadeType valueOf(   String name ) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. Parameters: name - the name of the enum constant to be returned
JPA Doc
69

CascadeType.ALL

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

CascadeType.DETACH

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

CascadeType.MERGE

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

CascadeType.PERSIST

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

CascadeType.REFRESH

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

CascadeType.REMOVE

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

JPA Annotations for Relationships

Reference (JavaDoc) of JPA 2 relationship annotations, including @ManyToMany, @ManyToOne, @OneToMany, @OneToOne, @OrderBy and @MapKey.