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#4085445

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

Reply via email to