-
Notifications
You must be signed in to change notification settings - Fork 682
DATACMNS-577 - Improved javadoc on QueryDslPredicateExecutor. #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Prepare issue branch.
f34fecf
to
6ccffc6
Compare
Original pull request: #96.
*/ | ||
public interface QueryDslPredicateExecutor<T> { | ||
|
||
/** | ||
* Returns a single entity matching the given {@link Predicate}. | ||
* Returns a single entity matching the given {@link Predicate} or {@literal null} if none was found. | ||
* If the predicate yields more than one result a {@link NonUniqueResultException} is thrown. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If that's the case, that's a bug. Repositories should only throw exceptions that inherit from DataAccessException
.
6ccffc6
to
7f44de9
Compare
Original pull request: #96.
Original pull request: #96.
7f44de9
to
33f53a2
Compare
Updated javadoc. The |
No description provided.