I’m developing an app using jquery mobile, phonegap and openDatabase. When the app is executed, I can see in the console of Safari browser the SQLResultSet with this message:
insertId: Error: INVALID_ACCESS_ERR: DOM Exception 15.
However, my app is working ok. But I don’t understand why that message is shown.
Please, help me.
It means that no row was inserted by a transaction, by that it’s more an information than an error.
If an INSERT-statement wasn’t successfull or an transaction wasn’t an INSERT at all, the insertId-property of the resultSet contains this message instead of the ID of the last inserted row.
http://docs.phonegap.com/phonegap_storage_storage.md.html#SQLResultSet