Package api.mpba.rastvdmy.repository
Interface MessageRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Message,,String> org.springframework.data.jpa.repository.JpaRepository<Message,,String> org.springframework.data.repository.ListCrudRepository<Message,,String> org.springframework.data.repository.ListPagingAndSortingRepository<Message,,String> org.springframework.data.repository.PagingAndSortingRepository<Message,,String> org.springframework.data.repository.query.QueryByExampleExecutor<Message>,org.springframework.data.repository.Repository<Message,String>
@Repository
public interface MessageRepository
extends org.springframework.data.jpa.repository.JpaRepository<Message,String>
This interface represents the repository for the Message entity.
It extends JpaRepository to provide methods for manipulating Message entities.
JpaRepository is a JPA-specific extension of Repository
that provides methods for common database operations, such as saving, deleting, and finding records.
It is annotated with @Repository to indicate that it serves as a data access layer.
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne