Hi,
The biggest difference between SQLite on Android and H2 is the API:
for H2 you have to use the JDBC API, while for SQLite you can either
use JDBC or the API under the package android.database. I started to
write a H2 API that is similar to the SQLite API, under
src/tools/android/database, but it is not usable yet.
Regards,
Thomas
On Fri, Jul 27, 2012 at 12:36 PM, hank <
ha...@123mail.org> wrote:
> I'm about to start porting TouchDB Android from SQLite to H2. Anyone
> familiar with SQLite -> H2 migrations? Caveats?
>
> Before starting to hack away I have done some research in what's involved
> (ignore the Android related stuff).
>
> FYI TouchDB is a wrapper around SQL databases (currently SQLite only) that
> provides CouchDB semantics (JSON, documents not rows etc.) and lets them
> participate in a CouchDB replication scheme. This effectively creates a
> lightweight CouchDB installation embeddable into mobile and client apps such
> as on phones and laptops and lets those apps sync data to a backend using
> the CouchDB replication mechanism.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/h2-database/-/W5u2L29L5a8J.
> To post to this group, send email to
h2-da...@googlegroups.com.
> To unsubscribe from this group, send email to
>
h2-database...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/h2-database?hl=en.