ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
69

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
69

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
68

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
68

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
37

Entity Management Settings

" /> <fetch hollow="true" /> <persist serialization="false" /> <cascade-persist always="auto ... class, 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
34

Storing JPA Entity Objects

or implicitly as a result of a cascade operation. Explicit Persist The following code stores ... of every reachable object or alternatively by setting automatic cascading persist. Cascading Persist Marking ... that persist operations should be cascaded automatically to entity objects that are referenced by
34

Detached Entity Objects

object. Cascading Detach Marking a reference field with CascadeType.DETACH (or CascadeType.ALL, which includes DETACH) indicates that detach operations should be cascaded automatically to entity objects ... ): @Entity class Employee { : @OneToOne(cascade=CascadeType.DETACH) private Address
34

Retrieving JPA Entity Objects

of additional entity objects. By default, a retrieval operation is automatically cascaded ... , which is usually unacceptable. A persistent reference field can be excluded from this automatic cascaded ... is FetchType.EAGER, indicating that the retrieval operation is cascaded through the field. Explicitly
34

Deleting JPA Entity Objects

method or implicitly as a result of a cascade operation. Explicit Remove In order to delete an object ... the database require an active transaction. Cascading Remove Marking a reference field ... should be cascaded automatically to entity objects that are referenced by that field (multiple entity objects
6

ForeignKeyAction.CASCADE

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

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