• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sqlite3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sqlite3


  • Subject: Re: Sqlite3
  • From: "Hank Heijink (Mailinglists)" <email@hidden>
  • Date: Thu, 9 Apr 2009 20:24:53 -0400


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 (email@hidden)

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:
This email sent to email@hidden


References: 
 >Sqlite3 (From: fawad shafi <email@hidden>)

  • Prev by Date: Re: NSURLConnection crashes with EXC_BAD_ADDRESS -- can't find why...
  • Next by Date: OO idiom avoiding switch and if
  • Previous by thread: Sqlite3
  • Next by thread: Sqlite3
  • Index(es):
    • Date
    • Thread