ObjectDB ObjectDB

Internal Website Search

1-10 of 142 resultsRefresh
93

javax.persistence.CascadeType

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

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
83

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
82

CascadeType.REFRESH

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

CascadeType.PERSIST

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

CascadeType.REMOVE

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

CascadeType.ALL

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

CascadeType.MERGE

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

CascadeType.DETACH

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

Detached Entity Objects

object. Cascading Detach Marking a reference field with CascadeType.DETACH (or CascadeType ... ): @Entity class Employee { : @OneToOne(cascade=CascadeType.DETACH) private Address ... that references an instance of Address, which is another entity class. Due to the CascadeType.DETACH

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support