Hello.. Im using the session ec so far, I hadn't go for multi-ec.. it's
really weird that the globalID is 0.
hmmmm maybe I have an idea.. but Idunno if it can be possible.

I inserted the users manually into the database, but in the
EO_PRIMAR_KEY  table that EO generates thre is no reference to the pk
of the table USERS,  could that be the reason?... I wil hvae to go and
try it 2morrow at the office.

4 Lachlan>>>
I used ec.insertObject, because  (as you know Im "new" to WO, so
that;s the method
I learned from the beggining), but now that you mention I will read about
the methods you describe in your posts and start usign them if the are the
"way to do things", I guess thats they way, so thanks for opening my eyes.
:D:D::D


G.



On Fri, Jul 17, 2009 at 7:31 AM, Cheong Hee (Gmail) <[email protected]>wrote:

> If I were to try, I will activate this to see why global id for user is
> '0':
>       /* debugging database */
>           NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupSQLGeneration);
>       NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupDatabaseAccess);
>       NSLog.setAllowedDebugLevel(NSLog.DebugLevelInformational);
>       /* */
>
>> I already saved some information in another requiremente, usign the same
>> procedure, generating contents of main list, then selecting an itme of
>> main
>> list, then selecting another item of the second list and then modifing
>> that
>> last item by adding more stuff to the EO and adding the relationships and
>> so
>> on, and I had no problem
>> But this time using the same procedure but instead of adding more stuff Im
>> just adding a relationship I get this error.
>>
>>
>> THe user its being fetched from the WOPopUpList, with the same EC, so I
>> suspeceted it should be there. but no. :S
>>
>>
>
> Also, do you use defaultEditingContext or multi-EC?  In a case of multi-EC,
> I will also try to check if user.editingContext() is same as ec that is in
> use.  It will clear doubt if both ts and user are in same ec.
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
>
> http://lists.apple.com/mailman/options/webobjects-dev/webobjectspicora%40gmail.com
>
> This email sent to [email protected]
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to