I need help for my exam project to find differences and benefit of ROOM database: I tried to search in android development documentation to understand the difference between these two databases, but i couldn't clearly understand. I did not find any answer in stack overflow either. I also want to know the benefit of using Room persistence compared to SQLite database.
Hope someone can give me clear answer.
Room is an ORM, Object Relational Mapping library. In other words, Room will map our database objects to Java objects. Room provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite.
Difference between SQLite and Room persistence library:-
Room annotations and main components:
Here is the link to the medium article which explains in detail the usage and benefits of Room persistence library. I hope this helps.
Edit 1: You can refer to Google developer docs, which clearly explains how to save data in a local database using room. Link to Google Developer Docs