Skip to content

Commit 4c27ccb

Browse files
authored
Merge pull request #374 from Nthingtech/order-by
Remove @orderby("id ASC")
2 parents 3f01b92 + 3101934 commit 4c27ccb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crud-spring/src/main/java/com/loiane/course/Lesson.java

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public class Lesson {
3636
private String youtubeUrl;
3737

3838
@ManyToOne(fetch = FetchType.LAZY, optional = false)
39-
@OrderBy("id ASC")
4039
@JoinColumn(name = "course_id", nullable = false)
4140
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
4241
private Course course;

0 commit comments

Comments
 (0)