Skip to content

Commit

Permalink
creator EAGER
Browse files Browse the repository at this point in the history
  • Loading branch information
enbraining committed Dec 31, 2023
1 parent cfad01c commit da99a89
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Boardgame {
@GenericGenerator(name="uuid2", strategy = "uuid2")
private UUID id;

@OneToOne
@OneToOne(fetch = FetchType.EAGER)
private Member creator;

@Column(nullable = false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

@Repository
public interface BoardgameRepository extends JpaRepository<Boardgame, Long> {
boolean existsById(UUID id);

Optional<Boardgame> findBoardgameById(UUID id);
}

0 comments on commit da99a89

Please sign in to comment.