|
@@ -3,6 +3,7 @@ package cn.com.qmth.examcloud.core.basic.dao.entity;
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
import javax.persistence.GeneratedValue;
|
|
|
+import javax.persistence.GenerationType;
|
|
|
import javax.persistence.Id;
|
|
|
import javax.persistence.Index;
|
|
|
import javax.persistence.Lob;
|
|
@@ -25,7 +26,7 @@ public class OrgPropertyEntity extends JpaEntity {
|
|
|
private static final long serialVersionUID = 4009839764353162256L;
|
|
|
|
|
|
@Id
|
|
|
- @GeneratedValue
|
|
|
+ @GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
|
private Long id;
|
|
|
|
|
|
@Column(nullable = false)
|