org.hibernate.MappingException: The increment size of the sequence is set to [10] in the entity mapping while … size is [1]
问题 We run into a problem when updating to Spring Boot 2.2 and the associated Hibernate 5.4.x. We do have the following sequence generator @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "hilo_sequence_generator") @GenericGenerator( name = "hilo_sequence_generator", strategy = "...", parameters = { @Parameter(name = "sequence_name", value = "XXX_SEQUENCE"), @Parameter(name = "initial_value", value = "1"), @Parameter(name = "increment_size", value = "10"), @Parameter(name =