Search:

Type: Posts; User: niels; Keyword(s):

Search: Search took 0.02 seconds.

  1. findAll without where condition but with OrderBy doesn't work

    Any idea why List<Post> findAllOrderByTitleAsc(); doesn't work?
    List<Post> findAllByIdGreaterThanOrderByTitleAsc(Long id); works well

    Here the error
    Caused by:...
  2. Well a DAO/Repository should be more than JPA,...

    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...
  3. Why foundOne doesn't throw an EmptyResultDataAccessException

    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...
Results 1 to 3 of 3