On Apr 8, 2009, at 8:24 AM, fawad shafi wrote:

i m working on sqlite3 database, problem is this that, when i insert data in database from simulator, n after this when i go to sqlite3 terminal. the data is not available there.

more strange is that after inserting data from simulator, when i try to access the records, i can access. But after restarting the simulator it fetches no record

I believe that every time you restart the simulator, the path to your Documents folder changes (note the hexadecimal part of the path to Documents). Are you sure you're looking at the current database file and not the previous one? I'd log the path to the database when you start your app and compare that to the path you think your database is at.

Good luck,
Hank

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to