Hi,
is there a way to set an allocationSize of the sequence id generation strategy in GORM DSL?
A native hibernate mapping:
@SequenceGenerator(name="generator", sequenceName="KONF_SEQ")
@Id @GeneratedValue(strategy=SEQUENCE, generator="generator", <b>allocationSize</b>=10)
I have tried in GORM:
id column: 'konf_id', generator:'sequence', <b>allocationSize</b>: 10, params: [sequence: 'konf_seq']
and
id column: 'konf_id', generator:'sequence', params: [sequence: 'konf_seq', <b>allocationSize</b>: 10]
but it doesn't work.
My Grails version is 3.3.3
Thanks
Dimi