Even though this issue is still reproducible at my end, I think the issue occurs when property `hibernate.hbm2ddl.auto` is set to `validate`. Everything works fine when it is set to `none`. I think validator doesn't take into account that when primary key is defined as `GENERATED BY DEFAULT AS IDENTITY`, PostgreSQL doesn't actually generate a sequence like it does for `BIGSERIAL` columns, thus causing it to fail with `Schema-validation: missing sequence`. |