• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sequential numbering across more instances
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >sequential numbering across more instances (From: Ondřej Čada <email@hidden>)
 >Re: sequential numbering across more instances (From: Florijan Stamenkovic <email@hidden>)
 >Re: sequential numbering across more instances (From: Ondřej Čada <email@hidden>)
 >Re: sequential numbering across more instances (From: Florijan Stamenkovic <email@hidden>)
 >Re: sequential numbering across more instances (From: Ondřej Čada <email@hidden>)
 >Re: sequential numbering across more instances (From: Florijan Stamenkovic <email@hidden>)
 >Re: sequential numbering across more instances (From: Chuck Hill <email@hidden>)
 >Re: sequential numbering across more instances (From: Florijan Stamenkovic <email@hidden>)
 >Re: sequential numbering across more instances (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: sequential numbering across more instances
  • Next by Date: Re: WOBuilder substitute for Eclipse 3.3+ in Leopard
  • Previous by thread: Re: sequential numbering across more instances
  • Next by thread: Re: sequential numbering across more instances
  • Index(es):
    • Date
    • Thread