-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Property 'xxx_xxx' is not part of xxxxDao #216
Comments
The issue appears to be with regards to the equality of the Properties object.
Changing
To
Resolves the issue and all my tests pass. However it appears this code hasnt changed since 2013. https://github.com/greenrobot/greenDAO/blame/f5ec02c96df49f30a038089ae0f126caf3c701fd/DaoCore/src/de/greenrobot/dao/query/QueryBuilder.java I think the correct solution to this is to provide an equals implementation for the Property object and use that instead. If requested I can add the below patch as a pull request.
|
Thank you for this post. I have the same problem since I upgraded from 1.3 to 2.0. How did you correct the WhereCollector class ? Have you imported the whole project to correct the class or add the dependency with gradle and just override WhereCollector.java ? When I try to override it, I have a multidex error and if I enable mutidexing, I get a lot of errors when I run my project so I don't really want to enable it. Could you add this as a pull request ? |
Im getting the same exception here, //Fetch data of the folder and its children from File table
Help! |
Outdated. Closing. Please open a new issue if this is still relevant. -ut |
After upgrading from 1.3 to 2.0, Ive begun to receive the following error when running Robolectric tests.
Ive doubled check that 'contact_id' is defined as a property of the generated MessageDao. There doesn't appear to be anything obvious. I can't provide complete code but hopefully the following snippets will help.
Im aware that the deleteConversation method could easily be improved.
The text was updated successfully, but these errors were encountered: