I'm having a Spring Data repository class like:
@RepositoryDefinition(domainClass = Book.class, idClass = Long.class)
public interface BookRepository {
List<Book> findAll();
List<Book> findByOrderByPublishDateDesc();
Book findOne(Long id);
Book save(Book book);
boolean exists(Long id);
void delete(Long id);
Iterable<Book> findAll(Predicate predicate, OrderSpecifier<?>... orders);
}
The standard crud methods do work, however the findAll (from JpaSpecificationExecutor) doesn't work.
Do @RepositoryDefinition repositories support using the querydsl (or jpa specification) predicate-aware methods?
Aucun commentaire:
Enregistrer un commentaire