Fixed
Status Update
Comments
ga...@gmail.com <ga...@gmail.com> #2
The generated dao code has this line:
_observer = new Observer("book","split")
I think annotation processor should handle this type usages of FROM clause.
I found a workaround for this problem. I created an unused entity named "Split" and it works.
_observer = new Observer("book","split")
I think annotation processor should handle this type usages of FROM clause.
I found a workaround for this problem. I created an unused entity named "Split" and it works.
yb...@google.com <yb...@google.com> #3
yea we should fix the query parser to understand WITH. Btw, WITH queries are available only in recent versions of SQLite (need to double check but i think it was android 21 +).
Description
Migration fails only because old database was created with type "integer", while Room by default expects "INTEGER". Take a look at picture also.
I'm 100% sure this is the problem, because if I change old DB datatypes to capped letters during migration (with that being the only change), Room picks it up properly.
Component used: Room
Version used: 1.0.0-alpha3
Devices/Android versions reproduced on: Motorola Moto G (Android 5.1)
- Screenshot attached