We need a way to migrate a way to migrate the code below.
There is no way to set increment size on base class.
@Getter @Setter @MappedSuperclass @Audited public abstract class AbstractEntity { @Id @GeneratedValue(generator = "optimized-sequence") @GenericGenerator( name = "optimized-sequence", strategy = "enhanced-sequence", parameters = { @Parameter(name = SequenceStyleGenerator.CONFIG_PREFER_SEQUENCE_PER_ENTITY, value = "true"), @Parameter(name = SequenceStyleGenerator.INCREMENT_PARAM, value = "100")}) private Long id;
https://discourse.hibernate.org/t/hibernate-6-migration-id-generation/7556