Re: How to generate sequence in MySql
Somebody really should add sequence support to mysql. Yes, it is great that we have an auto-increment column.
But I have just come across a use-case that is a killer in this respect.
I am starting a new project and looking to use JBoss/Seam and it's conversation support for long running tasks. Everything was looking great until I came across the problem that I can't use mysql, because hibernate will automatically do an insert if the identity generation strategy is used (i.e. it will not wait for a flush which is essential for long running tasks).
I suppose I can go to Postgres as that supports sequences (which are ok because no insert to the database is required).
Somebody, please help us out and add sequence support to mysql. Unless there is someway to define some user defined functions that can help us out (anybody?)
Subject
Views
Written By
Posted
166899
March 13, 2007 08:05AM
73192
March 22, 2007 10:34PM
66712
March 26, 2007 08:49AM
53096
March 26, 2007 09:31PM
30651
April 04, 2007 03:00AM
24304
April 05, 2007 02:37AM
21310
November 10, 2008 06:40AM
26285
November 21, 2007 03:50AM
29979
January 29, 2008 08:33PM
17460
February 06, 2008 12:16PM
Re: How to generate sequence in MySql
18223
October 15, 2008 01:03PM
12196
November 05, 2008 09:50AM
14003
November 10, 2008 06:32AM
15299
December 14, 2008 07:08AM
18047
January 23, 2009 05:38PM
8427
March 16, 2009 09:00AM
10013
March 16, 2009 09:18AM
8338
March 16, 2009 09:51AM
9217
March 16, 2009 10:23AM
8197
April 12, 2009 07:58AM
9742
April 03, 2009 03:07PM
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.