List of usage examples for javax.persistence CascadeType MERGE
CascadeType MERGE
To view the source code for javax.persistence CascadeType MERGE.
Click Source Link
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; }