Package edu.yu.marketmaker.persistence
Interface BaseJpaRepository<E,K>
- Type Parameters:
E- the entity typeK- the key/ID type
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<E,,K> org.springframework.data.jpa.repository.JpaRepository<E,,K> org.springframework.data.repository.ListCrudRepository<E,,K> org.springframework.data.repository.ListPagingAndSortingRepository<E,,K> org.springframework.data.repository.PagingAndSortingRepository<E,,K> org.springframework.data.repository.query.QueryByExampleExecutor<E>,org.springframework.data.repository.Repository<E,K>
- All Known Subinterfaces:
JpaExternalOrderRepository,JpaFillRepository,JpaPositionRepository,JpaQuoteRepository,JpaReservationRepository
@NoRepositoryBean
public interface BaseJpaRepository<E,K>
extends org.springframework.data.jpa.repository.JpaRepository<E,K>
Base JPA repository interface for entities with identifiable keys.
This provides a common contract for all JPA repositories in the persistence layer.
Note: Spring Data JPA requires concrete interfaces for each entity type,
so individual repositories must still extend this with specific type parameters.
-
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