SudokuFX
Loading...
Searching...
No Matches
fr.softsf.sudokufx.repository.PlayerRepository Interface Reference

Repository interface for Player entities. More...

+ Inheritance diagram for fr.softsf.sudokufx.repository.PlayerRepository:
+ Collaboration diagram for fr.softsf.sudokufx.repository.PlayerRepository:

Public Member Functions

List< PlayerfindSelectedPlayerWithSelectedGame ()
 Finds the currently selected player along with their selected game and all related associations.
 

Detailed Description

Repository interface for Player entities.

Provides standard CRUD operations and custom query methods for Player objects using Spring Data JPA.

Includes a specialized query to fetch the selected player along with their selected game and all related associations to avoid lazy loading issues.

Member Function Documentation

◆ findSelectedPlayerWithSelectedGame()

List< Player > fr.softsf.sudokufx.repository.PlayerRepository.findSelectedPlayerWithSelectedGame ( )

Finds the currently selected player along with their selected game and all related associations.

This method performs a fetch join to eagerly load:

Only players and games marked as selected are returned.

Returns
a list of selected players with their selected games and all associations
+ Here is the call graph for this function:

The documentation for this interface was generated from the following file: