See the migration guide about what to do here: https://github.com/hibernate/hibernate-orm/blob/6.0/migration-guide.adoc#defaults-for-implicit-sequence-generators You have to update the sequence to a multiple of allocationSize + 1, as that is what Hibernate does internally. |