I have values in server json url and getting those values then storing into local database. But when i get those values and storing into local database i\'m getting Failed to op
you are closing the Db before making update or insert!
swap the statements to:
db.updateDetails(store); checkDB.close();