Interface EventRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Event,,Integer> org.springframework.data.jpa.repository.JpaRepository<Event,,Integer> org.springframework.data.repository.PagingAndSortingRepository<Event,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Event>,org.springframework.data.repository.Repository<Event,Integer>
@Repository
public interface EventRepository
extends org.springframework.data.jpa.repository.JpaRepository<Event,Integer>
Spring Data repository used to access the event in BBDD. See
Event.-
Method Summary
Modifier and TypeMethodDescriptionfindByName(String name) Find event by name.<S extends Event>
SsaveAndFlush(S entity) Saves an entity and flushes changes instantly.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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne