We have 40 model classes. In 30 of the generated DAO's attachEntity method is overridden.
for the rest, entity.daosession in the corresponding entities is null.
This is causing "entity detached form context" exception even for entities that are just loaded from the db.
Any pointers why this might happen?
Thanks