Any idea why List<Post> findAllOrderByTitleAsc(); doesn't work?
List<Post> findAllByIdGreaterThanOrderByTitleAsc(Long id); works well
Here the error
Caused by:...
Type: Posts; User: niels; Keyword(s):
Any idea why List<Post> findAllOrderByTitleAsc(); doesn't work?
List<Post> findAllByIdGreaterThanOrderByTitleAsc(Long id); works well
Here the error
Caused by:...
Well a DAO/Repository should be more than JPA, furthermore JPA throws an exception (NoResultException for getSingleResult).
Handling business flow with exception is indeed a bad practice. But here...
Hi I wonder why the method findOne doesn't throw an NoResultException or EmptyResultDataAccessException. I find it much more natural if I start searching with an Id.
Is it possible to change the...