-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
[rest] Do not reuse FilterCriteria instance for more than one query #2668
[rest] Do not reuse FilterCriteria instance for more than one query #2668
Conversation
c3e7318
to
f36405c
Compare
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.
These changes look good to me, but I have a question below.
Can you also fix the merge conflicts?
...re/src/main/java/org/openhab/core/io/rest/core/internal/persistence/PersistenceResource.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
f36405c
to
81e8ce9
Compare
I fixed the conflicts and removed the check if the item exists. |
@wborn I changed my implementation for JDBC too: openhab/openhab-addons#12052 |
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.
Thanks!
…penhab#2668) Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de> GitOrigin-RevId: 0dbc2b2
FilterCriteria
instance for more than one queryCloses #2665
Signed-off-by: Christoph Weitkamp github@christophweitkamp.de