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
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 :
@ColumnDefault(“nextval(‘public.warehouses_id_seq’)”);
to fix the problem
But I’m quite desapointed, I expected Hibernate to do it automaticaly with the SequenceGenerator…