Description: Steps to reproduce: https://github.com/YLesko/hibernate-table-generator-issue com.example.demo.service.SimpleServiceTest (run tests one-by-one) When sequence already exists in hibernate_sequences but next_val is less than increment_size negative values will be produced. Environment Hibernate 6.1.6 MySQL 8.0.28 Docker COntainer |