# Spring Boot 3.5.16 em.createQuery(...).getSingleResult() on no rows -> throws jakarta.persistence.NoResultException No result found for query [select b from Book b where b.isbn = 'nope'] jakarta.persistence.TypedQuery declares getSingleResultOrNull() -> false