I think you mean
@SequenceGenerator
yes, I try this. the problem is that. we are using the oracle db for creating the next pk
(a old infrastructur). so when I do "em.persist(table)" the id that will be
insert is i+1. because hibernate is generating a pk and when I do persist oracle is
generating a pk, too.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085445#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...