Interface BaseCrudRepository<E,ID>

Type Parameters:
E - tipo da entidade
ID - tipo do identificador
All Superinterfaces:
org.springframework.data.repository.CrudRepository<E,ID>, org.springframework.data.jpa.repository.JpaRepository<E,ID>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<E>, org.springframework.data.repository.ListCrudRepository<E,ID>, org.springframework.data.repository.ListPagingAndSortingRepository<E,ID>, org.springframework.data.repository.PagingAndSortingRepository<E,ID>, org.springframework.data.repository.query.QueryByExampleExecutor<E>, org.springframework.data.repository.Repository<E,ID>

@NoRepositoryBean public interface BaseCrudRepository<E,ID> extends org.springframework.data.jpa.repository.JpaRepository<E,ID>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<E>
Repositório base com suporte a CRUD e Specifications.

Marcado com NoRepositoryBean para evitar instanciação direta; deve ser estendido por repositórios concretos nas aplicações.

Since:
1.0.0
  • Method Summary

    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.jpa.repository.JpaSpecificationExecutor

    count, delete, exists, findAll, findAll, findAll, findBy, findOne

    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