Closed
Description
🚨 First, please check:
- existing issues,
- Docs https://docs.objectbox.io/
- Troubleshooting page https://docs.objectbox.io/troubleshooting
- FAQ page https://docs.objectbox.io/faq
Describe the bug
When I query data, I cache the query object and do the query, the result is normal. Then the next same method query uses setParameters method to modify parameters, and the result is not right.
Basic info (please complete the following information):
- ObjectBox version 2.8.0
- Reproducibility: always
- Device: huawei mate 9
- OS: Android 9
attachments are corresponding demo
1.compile and install apk
2.start the app and click on the database test in the upper right corner
3.click the bottom button and check the log.
demo explanation:
Entity:Message
method getMsgListWithType use setParameters(Property<?> property, int[] values) not work
method getMsgListWithType2 use setParameters(String alias, int[] values) not work
method getMsgList use setParameter work right.