... newRecord.primaryKey() ?
... newRecord.primaryKeyInTransaction()
Calling this method will return the primary key of the given
enterprise object or if one has not been assigned to it yet, then it
will have the adaptor channel generate one for it, cache it and then
use that primary key when it is saved to the database.
I've spent a week laboring under some nasty (human) virus, so my brain
is slow. Only seconds after bopping the send button, I found the
'raw' variations of the above which don't return Strings (unless the
key IS a String) ... Gav
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]