Re: [Modeling-users] self.getId()
Status: Abandoned
Brought to you by:
sbigaret
|
From: Yannick G. <ygi...@yg...> - 2003-03-27 13:31:28
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 27 March 2003 07:48, Sebastien Bigaret wrote: > Yannick, this may be of some interest to you as well: as far as I > remember you declare your PK as class properties, too. Yes, I used to make a ugly hack :=20 snapshot =3D obj.snapshot() snapshot.update(self.__ec.globalIDForObject(obj).keyValues()) I debuged quite =E0 long time to find that saveChanges() did not set the value into the object... Thanks for the info ! : ) - --=20 Yannick Gingras Coder for OBB : Optically Bookable Barbados http://OpenBeatBox.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+gv0srhy5Fqn/MRARArMnAKCAc3KNgNuX3pTRcB4RcULkmB1z7ACcC6uh /up0+hY1E+gvvCwvuSSuws8=3D =3DAvNq -----END PGP SIGNATURE----- |