From 32bcf85f9807fb0764d357407405cdd7f0188203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=A5=EC=A4=80=ED=95=98?= Date: Mon, 5 Aug 2024 16:41:25 +0900 Subject: [PATCH] =?UTF-8?q?entity=20=EC=95=84=EC=9D=B4=EB=94=94=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1=EC=A0=84=EB=9E=B5=20Identity=EB=A1=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/newCar/event_page/entity/User.java | 2 +- src/main/java/newCar/event_page/entity/event/Event.java | 2 +- src/main/java/newCar/event_page/entity/event/EventCommon.java | 2 +- src/main/java/newCar/event_page/entity/event/EventUser.java | 2 +- src/main/java/newCar/event_page/entity/event/quiz/Quiz.java | 2 +- .../java/newCar/event_page/entity/event/quiz/QuizWinner.java | 2 +- .../newCar/event_page/entity/event/racing/PersonalityTest.java | 2 +- .../newCar/event_page/entity/event/racing/RacingWinner.java | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/newCar/event_page/entity/User.java b/src/main/java/newCar/event_page/entity/User.java index 7c9a139..5b03bc2 100644 --- a/src/main/java/newCar/event_page/entity/User.java +++ b/src/main/java/newCar/event_page/entity/User.java @@ -9,7 +9,7 @@ public class User { @Id - @GeneratedValue + @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name="USER_ID") private Long id; diff --git a/src/main/java/newCar/event_page/entity/event/Event.java b/src/main/java/newCar/event_page/entity/event/Event.java index 61c54f3..1cb4cc8 100644 --- a/src/main/java/newCar/event_page/entity/event/Event.java +++ b/src/main/java/newCar/event_page/entity/event/Event.java @@ -12,7 +12,7 @@ @DiscriminatorColumn(name="etype") public class Event { @Id - @GeneratedValue + @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name="EVENT_ID") private Long id; diff --git a/src/main/java/newCar/event_page/entity/event/EventCommon.java b/src/main/java/newCar/event_page/entity/event/EventCommon.java index 1cc25b5..544fbf2 100644 --- a/src/main/java/newCar/event_page/entity/event/EventCommon.java +++ b/src/main/java/newCar/event_page/entity/event/EventCommon.java @@ -15,7 +15,7 @@ @Getter public class EventCommon { @Id - @GeneratedValue + @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name="EVENT_COMMON_ID") private Long id; diff --git a/src/main/java/newCar/event_page/entity/event/EventUser.java b/src/main/java/newCar/event_page/entity/event/EventUser.java index 8181db4..dca9161 100644 --- a/src/main/java/newCar/event_page/entity/event/EventUser.java +++ b/src/main/java/newCar/event_page/entity/event/EventUser.java @@ -9,7 +9,7 @@ @Getter public class EventUser { @Id - @GeneratedValue + @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @ManyToOne diff --git a/src/main/java/newCar/event_page/entity/event/quiz/Quiz.java b/src/main/java/newCar/event_page/entity/event/quiz/Quiz.java index db6360b..e0bda88 100644 --- a/src/main/java/newCar/event_page/entity/event/quiz/Quiz.java +++ b/src/main/java/newCar/event_page/entity/event/quiz/Quiz.java @@ -16,7 +16,7 @@ @Setter public class Quiz { @Id - @GeneratedValue + @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name="QUIZ_ID") private Long id; diff --git a/src/main/java/newCar/event_page/entity/event/quiz/QuizWinner.java b/src/main/java/newCar/event_page/entity/event/quiz/QuizWinner.java index 602c4b5..6ad9902 100644 --- a/src/main/java/newCar/event_page/entity/event/quiz/QuizWinner.java +++ b/src/main/java/newCar/event_page/entity/event/quiz/QuizWinner.java @@ -8,7 +8,7 @@ @Getter public class QuizWinner { @Id - @GeneratedValue + @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @ManyToOne diff --git a/src/main/java/newCar/event_page/entity/event/racing/PersonalityTest.java b/src/main/java/newCar/event_page/entity/event/racing/PersonalityTest.java index 7e2a207..292608d 100644 --- a/src/main/java/newCar/event_page/entity/event/racing/PersonalityTest.java +++ b/src/main/java/newCar/event_page/entity/event/racing/PersonalityTest.java @@ -11,7 +11,7 @@ @Getter public class PersonalityTest { @Id - @GeneratedValue + @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @ManyToOne(fetch = FetchType.LAZY) diff --git a/src/main/java/newCar/event_page/entity/event/racing/RacingWinner.java b/src/main/java/newCar/event_page/entity/event/racing/RacingWinner.java index e36c7ee..525ea3e 100644 --- a/src/main/java/newCar/event_page/entity/event/racing/RacingWinner.java +++ b/src/main/java/newCar/event_page/entity/event/racing/RacingWinner.java @@ -12,7 +12,7 @@ @Getter public class RacingWinner { @Id - @GeneratedValue + @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @ManyToOne(fetch = FetchType.LAZY)