-
Notifications
You must be signed in to change notification settings - Fork 15
Feature/filter for queries #18
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
base: master
Are you sure you want to change the base?
Feature/filter for queries #18
Conversation
452d9c7
to
451a612
Compare
40f5ed4
to
24d2b6c
Compare
please review @yannbriancon |
src/main/java/com/yannbriancon/interceptor/HibernateQueryInterceptor.java
Outdated
Show resolved
Hide resolved
src/main/java/com/yannbriancon/interceptor/HibernateQueryInterceptor.java
Outdated
Show resolved
Hide resolved
src/main/java/com/yannbriancon/interceptor/HibernateQueryInterceptor.java
Outdated
Show resolved
Hide resolved
src/main/java/com/yannbriancon/interceptor/HibernateQueryInterceptor.java
Outdated
Show resolved
Hide resolved
src/main/java/com/yannbriancon/interceptor/HibernateQueryInterceptor.java
Outdated
Show resolved
Hide resolved
|
||
@ParameterizedTest | ||
@MethodSource("prepareQueryCountWithStartsWithFilterData") | ||
void queryCountWithStartsWithFilter(String filter, int expectedQueryCount) { |
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.
Good test!
Please add tests to catch the bugs explained in my comments.
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.
Thx. Do you mean i should do a multithreaded test with TestNG for example?
…ceptor.java Co-authored-by: Yann Briançon <[email protected]>
hello,
i implemented the feature: #14.
please have a look