MySQL Forums
Forum List  »  Oracle

Re: How to generate sequence in MySql
Posted by: Trevor Torrez
Date: February 06, 2008 12:16PM

How well does that work in a concurrent environment? Say the current sequence is at 29, and two separate web threads or applications perform do this; would both end up with the sequence number '30'? How do you get '@val' back into code from the java connector (jdbc) api?

Options: ReplyQuote


Subject
Views
Written By
Posted
167153
March 13, 2007 08:05AM
53444
March 26, 2007 09:31PM
30719
April 04, 2007 03:00AM
26347
November 21, 2007 03:50AM
Re: How to generate sequence in MySql
17534
February 06, 2008 12:16PM
18331
October 15, 2008 01:03PM
12259
November 05, 2008 09:50AM
14070
November 10, 2008 06:32AM
15447
December 14, 2008 07:08AM
18242
January 23, 2009 05:38PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.