I had the same problem on a SERIAL field on a postgresql database and we solved this using
@GeneratedValue(strategy=GenerationType.IDENTITY) and letting the database using the
sequence automaticaly.
Christophe
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026170#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...