0

I use loadAll method, my list real on db is 10, but the return list size is too large, around 100 more

entityDao = daoSession.getEntityDao();

List<Entity> listEntities = entityDao.loadAll();

listEntities.Size() = too large

gandalivs
  • 383
  • 3
  • 4
  • so what is your query? – kamesh Jul 10 '14 at 06:27
  • Probably there is something wrong with how you insert or update your data. Please post your schema and your code updateing, inserting and querying `Entity`. – AlexS Jul 10 '14 at 16:44
  • 1
    Greendao isn't inserting duplicate entries by accident. I'm pretty sure the problem lies either in your schema-creation or in the way you update or insert your data. If you want someone to be able to help you you should post this information. – AlexS Jul 18 '14 at 21:12

0 Answers0