Reputation: 7851
I'm wondering if I can change the default name of the default table for sequences 'hibernate_sequences'? I don't want to specify a sequence generator each time I use one but would rather prefer to change the default name.
Upvotes: 3
Views: 2066
Reputation: 2152
Use @TableGenerator
annotation to give customized name along with @GeneratedValue
annotation.
Upvotes: 5