startup exception:
{code:java} Caused by: org.hibernate.MappingException: The increment size of the [books_seq] sequence is set to [50] in the entity mapping while the associated database sequence increment size is [1]. at org.hibernate.id.enhanced.SequenceStyleGenerator.configure(SequenceStyleGenerator.java:257) at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.createIdentifierGenerator(DefaultIdentifierGeneratorFactory.java:118) ... 45 common frames omitted {code} thrown for {code:java} @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "books_seq") @SequenceGenerator(name="books_seq", sequenceName = "books_seq", allocationSize = 50, initialValue = 1000) private Long id; {code} I think “allocation size” is something completely different to “increment” |
|