PDA

View Full Version : sqlite database problem



palinko1111
4th May 2011, 00:43
I can use db in my phone perfectly. When I insert values to the DB i can see it, but when i close the app, the inserted values are erased. Any ideas?

schnitzel
4th May 2011, 02:18
you need to provide more info or some sample code.
we can't tell whether or not you are using models, not to mention mappers.

my guess, you are probably missing a call to submit() or submitall() depending on your edit strategy.

ChrisW67
4th May 2011, 03:09
Or using an in-memory database.

Lykurg
4th May 2011, 08:04
My crystal ball says, that you don't have the write permission for the database file...