Any way to generate Sequences by entities and change allocationSize of all?

I’m using Hibernate 6.5.2 and I have a @GeneratedValue(strategy = GenerationType.SEQUENCE) in our base Entity class, so Hibernate generates one database sequence for each entity.

But if I tried to name the item above and use @SequenceGenerator to change the allocationSize then it is going to stop generating one sequence for each entity.

How could I change allocationSize without remove the ability to generate one database sequence for each entity?

You have to name sequence generators e.g.

@SequenceGenerator(name = "my_entity_seq", allocationSize = 1)
@Entity
class MyEntity {
    @Id
    @GeneratedValue(strategy = SEQUENCE, generator = "my_entity_seq")
    Long id;
}