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.
yes, thejavafreak was right, I resolved the problem looking at the java forum. it seemed to have set the catalog name and schema, and as soon as I deleted those lines everything worked fine. Thank you!