Interface RoomRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Room,Long>, org.springframework.data.jpa.repository.JpaRepository<Room,Long>, org.springframework.data.repository.ListCrudRepository<Room,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<Room,Long>, org.springframework.data.repository.PagingAndSortingRepository<Room,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<Room>, org.springframework.data.repository.Repository<Room,Long>

@Repository public interface RoomRepository extends org.springframework.data.jpa.repository.JpaRepository<Room,Long>
Room 엔티티에 대한 데이터베이스 작업을 처리하는 리포지토리 인터페이스입니다.
Author:
전종영
  • Method Summary

    Modifier and Type
    Method
    Description
    게임이 시작되지 않은 모든 방을 조회합니다.

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findByIsGameStartedFalse

      List<Room> findByIsGameStartedFalse()
      게임이 시작되지 않은 모든 방을 조회합니다.
      Returns:
      게임이 시작되지 않은 Room 객체들의 List