Auto-incremented primary key

You will/should see nextval as default value for the column “id” in the database :

default value : nextval(‘warehouses_id_seq’::regclass)

as the result of the automatic primary key generation thanks to hibernate

I add the line :
to fix the problem
But I’m quite desapointed, I expected Hibernate to do it automaticaly with the SequenceGenerator…