• 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
[SOLVED but strange] What could happened to my SQLite store ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED but strange] What could happened to my SQLite store ?


  • Subject: [SOLVED but strange] What could happened to my SQLite store ?
  • From: Kubernan At 10191 Technologies <email@hidden>
  • Date: Fri, 25 May 2007 00:13:01 +0200

The problem is solved, but i don't know why the solution works :

As i said my model is similar to groups and smart groups in cocoa recipe sample. It means i have a abstract entity (say Folder) with
two inherited entities (say NormalFolder and SmartFolder).


In the XCode data modeler the two inherited entities (NormalFolder and SmartFolder) are associated to a special configuration called "preferences" and the abstract entity (Folder)
has no associated configuration.


My code plays with NormalFolder & SmartFolder.
This situation works well when i use NSXMLStoreType (the NormalFolder and SmartFolder instances are displayed in the outline view) but doesn't work
with NSSQLiteStoreType (given an empty outline view with **no** error message in the log).


After setting the abstract entity (Folder) configuation to "preferences", all works fine with NSSQLiteStoreType.
K.



Début du message réexpédié :

De : Kubernan At 10191 Technologies <email@hidden>
Date : 24 mai 2007 23:18:10 HAEC
À : email@hidden
Objet : What could happened to my SQLite store ?

Hello,

I have a very strange problem when i switch to different types of persistent store :
- With NSXMLStoreType all works fine : my outline view displays the objects.
- When i use NSSQLiteStoreType my outline view is empty !!


The outline view is bound to a NSTreeController which is populated with objects similar to groups and smart groups in cocoa recipes sample.
I do not use sort descriptor.
The groups and smart grous are displayed if i use NSXMLStoreType, but if i use NSSQLiteStoreType there is nothing in the outline view.


Any idea about this problem ?

Regards,
K.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >What could happened to my SQLite store ? (From: Kubernan At 10191 Technologies <email@hidden>)

  • Prev by Date: Re: Encoding function pointer in an NSValue
  • Next by Date: Re: Encoding function pointer in an NSValue
  • Previous by thread: What could happened to my SQLite store ?
  • Next by thread: NSComboboxCell question
  • Index(es):
    • Date
    • Thread