Search code examples
javaandroidsqliterealm

Combining Realm and SQLite.?


Combining realm and sql-lite in a single application.

I'm trying to integrate two application of which one is in realm and another is in sqlite. Is it possible to do this


Solution

  • There is no real reason to combine a nosql and sql based database. Realm already outclassed sqlite in terms in fluent api, database queries and easy of use.To answer your question, it can be done,sqlite access are independent of realm, there is no collision because they create two separate yet unique files. A side note, maintaining two database instances on a phone can be taxing, and management will inevitably become a problem, this will also introduce security errors of course.So yea you can do it,but do not, unless your a great database administrator or something.