Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@
* @param <T>
* @author Mark Paluch
* @author Christoph Strobl
* @author Ali Kilickaya
* @since 1.12
*/
public interface QueryByExampleExecutor<T> {

/**
* Returns a single entity matching the given {@link Example} or {@literal null} if none was found.
* Returns a single entity matching the given {@link Example} or {@link Optional#empty()} if none was found.
*
* @param example must not be {@literal null}.
* @return a single entity matching the given {@link Example} or {@link Optional#empty()} if none was found.
Expand Down