make use of the existencechecking annotation for targetrolloutgroup
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
This commit is contained in:
@@ -24,6 +24,9 @@ import javax.persistence.ManyToOne;
|
|||||||
import javax.persistence.OneToMany;
|
import javax.persistence.OneToMany;
|
||||||
import javax.persistence.Table;
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
import org.eclipse.persistence.annotations.ExistenceChecking;
|
||||||
|
import org.eclipse.persistence.annotations.ExistenceType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Michael Hirsch
|
* @author Michael Hirsch
|
||||||
*
|
*
|
||||||
@@ -31,6 +34,7 @@ import javax.persistence.Table;
|
|||||||
@IdClass(RolloutTargetGroupId.class)
|
@IdClass(RolloutTargetGroupId.class)
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "sp_rollouttargetgroup")
|
@Table(name = "sp_rollouttargetgroup")
|
||||||
|
@ExistenceChecking(ExistenceType.ASSUME_NON_EXISTENCE)
|
||||||
public class RolloutTargetGroup implements Serializable {
|
public class RolloutTargetGroup implements Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|||||||
Reference in New Issue
Block a user