Files
spring-data-jpa/src/test/java/org/springframework
Oliver Gierke d108bc9fed DATAJPA-13 - findOne(Specification s) now returns null if there is no result.
I chose not to return the arbitrary first result in case the Specification returns more than one result. First, there's no way to influence the order of the results so that we potentially get different results for the very same call. Beyond that this aligns with the semantics we have for finder methods that are supposed to return a single entity but actually don't.
2011-01-21 01:50:43 +01:00
..