Can I use Room Persistence for a different type of Database?
问题 I know that room is an abstraction layer over SQLite, I just want to know if I can use it for a different type of Database. I want to use Room to a special version of SQLite with geospatial support, is it possible? I really can't find an answer about this one. Android Spatialite Thanks in advance! 回答1: Yes, if you are willing to write the bridge code for it. One of the methods that you can call on a RoomDatabase.Builder is openHelperFactory(). This takes an instance of SupportSQLiteOpenHelper