I think it is not a good idea to use the generator strategy increment.

Create the sequence insted. If you have already data in the schema, set the 
initial value of the sequence so you don't get duplicate pks.

Use @SequenceGenerator or alter the sequence manually.

Regards

Felix

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035339#4035339

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035339
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to