| PostgreSQL 10 introduced identity columns by way of `GENERATED BY DEFAULT AS IDENTITY` construct. But unlike it's `BEGSERIAL` or `SERIAL` counterpart, this method doesn't create an actual sequence in table `information_schema.sequences`. Hibernate 5.4 searches for databases sequences using query `SELECT * FROM information_schema.sequences;` in class `SequenceInformationExtractorLegacyImpl`. Naturally with manually generated schema which uses `GENERATED BY DEFAULT AS IDENTITY` method, hibernate fails with `Schema-validation: missing sequence`. Surprising, same worked till Hibernate 5.3.7 |