Anyone here tried Room yet? Is it stable enough to...
# android
b
Anyone here tried Room yet? Is it stable enough to use in a production app? Our cache is getting too unwieldy so we’re moving one of our apps from raw files -> SQLite
👍 1
d
bachhuberdesign: I’ve heard that there is problem with kapt renaming function attributes and then not matching mapping in sql query to these attributes
b
Good to know. That’s a pretty big issue
t
seems like you could work around it by naming your stuff the same way the compiler does but then your code will look like 💩
b
So it seems like if you just write the DAO interfaces in Java everything else works fine
Seems like a good enough workaround until that bug gets fixed
t
the issue was just marked as fixed so whenever we get 1.1.3
K 5
b
Nice catch
b
Yeah I would say the fact that there is “alpha” in the name of the current version kind of hints that it’s not ready for prod? 😉
👍 2
t
big YMMV on that one 😆
m
i saw a picture on reddit yesterday, a user asking if room is ready and compare it with Realm
lol. there is no possible comparison. Realm is mature and has tones of features. Room is just a baby that do basic abstraction with the legacy sql api
t
Room doesn't do byte code weaving and impose huge restrictions on you. Also room uses sql which has an insane number of resources to learn from. Hardly a contest I'm. Only part I dont like about room is the way the query has to be compile time static. But that can give you other wins so maybe a good trade.