Hi,

I'm having a strange issue deleting rows from a sqlite database.
Here's the code snippet:

        mDb.beginTransaction();
        int nRows = mDb.delete("mytable", KEY_ITEM + "=" + rowId,
null);
        mDb.endTransaction();
        return nRows > 0;

The database is opened for write. The code above executes perfectly;
it even returns the number of rows deleted. However, the rows are
still in the table (even after I exit the app restart, etc.). Am I
missing anything here. The rest of the code is boilerplate and I can
read the data from the tables fine.

Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to