-
Notifications
You must be signed in to change notification settings - Fork 692
Closed
Labels
in: repositoryRepositories abstractionRepositories abstractionstatus: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement
Milestone
Description
Vitor Carvalho opened DATACMNS-1638 and commented
Whenever a developer needs to create a read only repository, it has to extend the Repository interface and then add all the read methods from CrudRepository to it.
It would be useful to have a ReadRepository similar to CrudRepository with all the read only methods.
Optional<T> findById(ID id);
boolean existsById(ID id);
Iterable<T> findAll();
Iterable<T> findAllById(Iterable<ID> ids);
long count();
No further details from DATACMNS-1638
Metadata
Metadata
Labels
in: repositoryRepositories abstractionRepositories abstractionstatus: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement