[EDIT] Categoruy, CourseEntityのIDの型をlongに変更しました。
This commit is contained in:
@@ -24,7 +24,7 @@ public class CategoryEntity {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "category_id")
|
||||
private Integer categoryId;
|
||||
private long categoryId;
|
||||
|
||||
@Column(name = "category_name", nullable = false)
|
||||
private String categoryName;
|
||||
|
||||
@@ -26,7 +26,7 @@ public class CourseEntity {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "course_id")
|
||||
private Integer courseId;
|
||||
private long courseId;
|
||||
|
||||
@Column(name = "course_name", nullable = false)
|
||||
private String courseName;
|
||||
|
||||
Reference in New Issue
Block a user