Example usage for javax.persistence CascadeType MERGE

List of usage examples for javax.persistence CascadeType MERGE

Introduction

In this page you can find the example usage for javax.persistence CascadeType MERGE.

Prototype

CascadeType MERGE

To view the source code for javax.persistence CascadeType MERGE.

Click Source Link

Document

Cascade merge operation

Usage

From source file:org.tsm.concharto.model.Event.java

@ManyToOne(cascade = { CascadeType.REFRESH, CascadeType.MERGE })
@ForeignKey(name = "FK_EVENT_STYLE")
public org.tsm.concharto.model.kml.StyleSelector getStyleSelector() {
    return styleSelector;
}

From source file:uk.co.gidley.zebra.service.om.state.AbstractTaskInstance.java

@ManyToOne(targetEntity = ProcessInstance.class, cascade = { CascadeType.MERGE, CascadeType.PERSIST })
public ProcessInstance getProcessInstance() {
    return this.processInstance;
}

From source file:uk.co.gidley.zebra.service.om.state.AbstractTaskInstance.java

@ManyToOne(targetEntity = FOE.class, cascade = { CascadeType.PERSIST, CascadeType.MERGE })
public IFOE getFOE() {
    return this.FOE;
}