Re: sequential numbering across more instances
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