Can Exposed be used with Android SQLite implementation?
I want to access Android SQLite database with a fully-featured ORM (Android Jetpack Room is a too weak one), but as I know, Exposed can be used only with JDBC. What can I do?
I heard about https://github.com/codersgarage/BelleORM and https://github.com/vincentlauvlwj/Ktorm but I didn't use it.
@CommanderTvis , why not to use jdbc driver for SQLite? Or it won't work with Android SQLite implementation?
@CommanderTvis , why not to use jdbc driver for SQLite? Or it won't work with Android SQLite implementation?
Xenial SQLite is not same as Android SQLite. Android SQLite doesn't provide any JDBC and javax.sql. DataSource support. There is an unofficial solution - SQLDroid, but it is pretty unstable.
Currently, I have to use H2, because it works on Android, and it is compatible with Exposed.
~~Это очень печально.~~
It's planned in a near (I hope) future. #578
@CommanderTvis , why not to use jdbc driver for SQLite? Or it won't work with Android SQLite implementation?
Xenial SQLite is not same as Android SQLite. Android SQLite doesn't provide any JDBC and javax.sql. DataSource support. There is an unofficial solution - SQLDroid, but it is pretty unstable.
Currently, I have to use H2, because it works on Android, and it is compatible with Exposed.
~Это очень печально.~
can you show, how you use H2 on andoird?