• 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: Andrew Lindesay <email@hidden>
  • Date: Sun, 17 Aug 2008 23:32:24 +1200

Hello Ondřej;

I have a helper for this that works quite well for me, you may like to see that by downloading LEWOStuff and looking at;

	LEJDBCHelper.getNextIntegralInSequence(..)

cheers

Whilst I can think of a number of possible solutions, I'd like to ask for your experience before implementing one? Strangely enough I haven't done this yet, and thus can't well estimate the advantages and disadvantages of different possible approaches (locking, UNIQUE column, etc...) and their respective gotchas.

___ Andrew Lindesay www.lindesay.co.nz

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

  • Prev by Date: Re: timestamp mysql oddity
  • Next by Date: Re: timestamp mysql oddity
  • Previous by thread: Re: Help with triggers/FrontBase (was: sequential numbering across more instances)
  • Next by thread: Fwd: sequential numbering across more instances
  • Index(es):
    • Date
    • Thread