Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Hi,
For all I know, there is an SQL Update strategy named "Delete and Insert".
Do the old records get deleted?
If no, is something stopping them to bet deleted, like a Trigger or whatever can block server side?
I have not used Views for ages - and I recommend CursorAdapter instead of View - but at least the CA has something like UpdateStrategy. And since the CA somehow is mirrored in the DBSetProp, check this.
Lutz
Hi Lutz,
I tried the SQL Update strategy named "Delete and Insert" and the old records don't get deleted. I also don't have any sort of trigger on the table. I am not able to wrap my head around what is happening.
I have never used a CursorAdapter before. What do you think could be blocking the old records from being deleted?
Alex
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement