Internal Website Search

31-40 of 200 resultsRefresh

EntityManager.refresh takes a long time

; Person has a large number of relations, including relationsto itself with a cascade ... = "person", cascade = CascadeType.ALL) private List<OpenIdAuth> openIdAuths = new ArrayList<>(); @OneToMany(mappedBy = "person", cascade = CascadeType.ALL) private List<

Updating JPA Entity Objects

can be cascaded from all the entity objects that have to be stored in the database, including from ... . If cascading_persist">global cascade persist is enabled

javax.persistence.CascadeType

="description"> Defines the set of cascadable operations that are propagated to the associated entity. The value cascade=ALL is equivalent to cascade={PERSIST ... .CascadeType">ALL Cascade all operations

DELETE Queries in JPA/JPQL

method or implicitly by a cascading operation. Applying changes

JPA Annotations for Relationships

specifying any of the annotations above. Specifying a relationship annotation enables configuring cascade

javax.persistence.OneToMany

>java.util.Map, the cascade element and the orphanRemoval element ... language="java"> // In Customer class: @OneToMany(cascade=ALL, mappedBy="customer ... "> // In Customer class: @OneToMany(targetEntity=com.acme.Order.class, cascade

javax.persistence.OneToOne

.persistence">CascadeType[] cascade" title="Annotation Element of javax.persistence.OneToOne">cascade (Optional) The operations that must be cascaded to the target of the association

javax.persistence.ManyToMany

="name">cascade" title="Annotation Element of javax.persistence.ManyToMany">cascade (Optional) The operations that must be cascaded to the target of the association.

javax.persistence.ManyToOne

.persistence">CascadeType[] cascade" title="Annotation Element of javax.persistence.ManyToOne">cascade (Optional) The operations that must be cascaded to the target of the association

javax.jdo.annotations.ForeignKeyAction

CASCADE" title="Enum Constant of javax.jdo.annotations.ForeignKeyAction">CASCADE