[baseten-users] Alter Primary Keys
Michael Ruepp
michael at ruepp.at
Fri Mar 5 15:54:16 EET 2010
Hi,
I am searching for a save method to alter the primary key of a BXDatabase Object.
I get the object of the context and try to:
object setPrimitiveValue:pk forKey:@"id" but every time I get SIGARBT and mach_msg trap errors. I assume it has to do with the object graph is no longer valid because the object is in memory but not existing after altering the pk.
How is it possible to change the pk after object creation?
Thanks,
Michael
_________________
michael ruepp
michael at ruepp.at
fon +41 76 593 04 49
skype michaelruepp
CONFIDENTIALITY NOTICE
This message (including any attachments transmitted with it) contains confidential information and is intended only for the individual named herein. If you are not the herein named addressee you should not disseminate, distribute, copy or otherwise make use of this message. Please notify the sender immediately by e-mail if you have received this message by mistake, and delete it from your systems.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basetenframework.org/pipermail/baseten-users/attachments/20100305/9dec5bc0/attachment-0001.htm>
More information about the baseten-users
mailing list