Skip to content

Commit

Permalink
[FIX] change fetch type to lazy
Browse files Browse the repository at this point in the history
  • Loading branch information
ohksj77 committed Mar 30, 2024
1 parent 613deb0 commit 8fb851e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ public class GroupMember implements Auditable {
@Column(columnDefinition = "BINARY(16)")
private UUID id = UlidCreator.getMonotonicUlid().toUuid();

@ManyToOne
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "group_id")
private Group group;

@ManyToOne
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "member_id")
private Member member;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class Notification implements Auditable {

@Id
@Column(columnDefinition = "BINARY(16)")
private final UUID id = UlidCreator.getMonotonicUlid().toUuid();
private UUID id = UlidCreator.getMonotonicUlid().toUuid();

@Column(nullable = false)
private String title;
Expand Down

0 comments on commit 8fb851e

Please sign in to comment.