Re: sequential numbering across more instances
Re: sequential numbering across more instances
- Subject: Re: sequential numbering across more instances
- From: Guido Neitzer <email@hidden>
- Date: Fri, 15 Aug 2008 13:23:28 -0600
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden