have a look at your Sequences.
Is there any data in the database which wasn't inserted by JBoss?
You have to specify the sequence for each entity. Otherwise JBoss will use the hibernate_sequence which starts at 0 per default.
The sequences are allright, and there is no data inserted without jboss...