Skip to content

Grails 4.0.0 Sequence-per-table configuration #124

Description

@Noxville

According to the installation guide it says:

For Hibernate 5 add the following to application.groovy

grails.gorm.default.mapping = {
    id generator: 'org.hibernate.id.enhanced.SequenceStyleGenerator', params: [prefer_sequence_per_entity: true]
}

This seems a bit weird/outdated/incorrect since my application.groovy looks like a spring boot boilerplate main (https://gist.github.com/Noxville/1a5232908f2fd19296261607a7244435).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions