diff --git a/src/main/java/com/xit/biz/ctgy/entity/MinSimsaUser680.java b/src/main/java/com/xit/biz/ctgy/entity/MinSimsaUser680.java index 5653c3b..f7b2ef0 100644 --- a/src/main/java/com/xit/biz/ctgy/entity/MinSimsaUser680.java +++ b/src/main/java/com/xit/biz/ctgy/entity/MinSimsaUser680.java @@ -12,6 +12,11 @@ import java.util.Set; @Schema(name = "MinSimsaUser680", description = "민원심사사용자매핑") @Table(name = "min_simsa_user680", schema = "", catalog = "") @Entity +@SequenceGenerator( + name = "SIMSA_USER680_SEQ_GEN", + sequenceName = "MIN_SIMSA_USER680_SEQ", + allocationSize = 1 // default = 50 이므로 반드시 setting 필요 +) @Getter @NoArgsConstructor @AllArgsConstructor @@ -20,7 +25,7 @@ public class MinSimsaUser680 implements Serializable { private static final long SerialVersionUID = 1L; @Id - @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = " MIN_SIMSA_USER680_SEQ") + @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SIMSA_USER680_SEQ_GEN") @Schema(required = true, title = "민원심사사용자매핑코드", example = " ", description = "Input Description...") @Column(name = "msu_code", nullable = false, length = 10) private Long msuCode;