mercredi 27 janvier 2016

SQLite Database linked to a REST remote database

I'm making a pre-populated SQLite Database and I want to store the ID of my data on a remote database using REST services. I'm wondering if it's a good practive to store ID's of my pre-populated native database onto the remote REST database to ultimatly retrieved them back and reassociate their ID to get the native data?

Will the ID's might be modified over time if I update my app or my database? I want to avoid having to store the entire object information in my remote database.

Example:

**SQLite data:**
--------------
Person
--------------
ID 
name 
title 
sexe

**REST remote database**
--------------
person
--------------
ID

Aucun commentaire:

Enregistrer un commentaire