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 protected])
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