Yeah, Hibernate forum is better, But just to give you directions, what DB type are you using? is your DB supports sequences at all? (if you'r using Mysql, better go for '@GeneratedValue' which will create the PK column with mysql's auto_incremental.
Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115499#4115499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115499 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user