if you are running into problems with
jboss using postgresql concerning the auto-creation of primary keys
...
have a look at www.pirack.com --> howtows ...
this might not be the smartest solution, but it works for small
applications very good ...
:O)