On 15.08.2008, at 13:18, Chuck Hill wrote:

editingContext().globalIDForObject(on) will be an EOTemporaryGlobalID until the object is saved. You can use Wonder to get a permanent key, but if the transaction is not committed, you will get gaps in the sequence (I think).

Yes you do. Wonder uses normally sequences (PostgreSQL, Oracle) or the unique feature (FrontBase) or some similar mechanism that should give a key exactly once. And as WebObjects asks for the key does the insert with that said key, this insert might fail, the app discards the object - you have a gap.

cug

--
http://www.event-s.net

_______________________________________________
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]

Reply via email to