[jboss-user] [JBoss Seam] - What's the right use of hibernate_sequences ?
5day
do-not-reply at jboss.com
Fri Oct 26 11:46:34 EDT 2007
I want my entitybean use sequence separated.
I use @GeneratedValue(strategy = GenerationType.TABLE) in my entitybean,
and I create the hibernate_sequences table in my database ,
CREATE TABLE hibernate_sequences
(
sequence_next_hi_value int8,
sequence_name varchar(128) NOT NULL,
CONSTRAINT hibernate_sequences_pkey PRIMARY KEY (sequence_name)
)
but I don't know where to find the start number of sequence .what's the right use of hibernate_sequences ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099372#4099372
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099372
More information about the jboss-user
mailing list