|
|
@@ -2,6 +2,9 @@ package com.uas.platform.b2b.model;
|
|
|
|
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
|
|
import org.codehaus.jackson.annotate.JsonIgnore;
|
|
|
+import org.hibernate.annotations.DynamicUpdate;
|
|
|
+import org.hibernate.annotations.OptimisticLockType;
|
|
|
+import org.hibernate.annotations.OptimisticLocking;
|
|
|
|
|
|
import javax.persistence.*;
|
|
|
import java.io.Serializable;
|
|
|
@@ -14,6 +17,8 @@ import java.util.Set;
|
|
|
*/
|
|
|
@Entity
|
|
|
@Table(name = "purc$pagingrelease")
|
|
|
+@OptimisticLocking(type = OptimisticLockType.ALL)
|
|
|
+@DynamicUpdate(value = true)
|
|
|
public class PagingRelease implements Serializable {
|
|
|
|
|
|
/**
|