roscopeco / ormdroid

ORMDroid is a simple ORM persistence framework for your Android applications.
http://roscopeco.github.io/ormdroid/
Apache License 2.0
86 stars 24 forks source link

Indeterminate behaviour when database is deleted #17

Closed roscopeco closed 10 years ago

roscopeco commented 10 years ago

When the backing database is deleted at runtime or at exit, and the application is run again more or less immediately, it will force close with a SQLiteException indicating that a table could not be found.

This is caused by stale information being held in the schema creation cache, which Android sometimes keeps alive between runs.

roscopeco commented 10 years ago

Considering this fixed as there have been no further reports of this behaviour in the wild.