"andydale" wrote : don't forget to add allocationSize = 1 to the
@SequenceGenerator annotation, or what is stored migth not match the sequence values.
|
| Cheers,
|
| Andy
You are right, the default value is 50, but if you look in property of an sequence in DB
you will see :
CREATE SEQUENCE address_seq
| INCREMENT 1
| MINVALUE 1
| MAXVALUE 9223372036854775807
| START 1
| CACHE 1;
| ALTER TABLE address_seq OWNER TO postgres;
and I suppose it's mistake of JPA realization or DB.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051454#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...