Annotations should be generated in the correct order when PK has a sequence generator

Description

When generating pojos with reverse engineering, it would be better to generate annotations for an id with a sequence in a correct order, and with line feeds.

Currently it looks like :

It would be better to have :

IMO it needs to be fixed around https://github.com/hibernate/hibernate-tools/blob/5.2/src/java/org/hibernate/tool/hbm2x/pojo/EntityPOJOClass.java#L245

Environment

None

Activity

Show:

Details

Assignee

Reporter

backPortable

Backport?

Participants

Guillaume Husta

Components

Priority

Created July 11, 2017 at 11:26 PM
Updated December 12, 2024 at 1:11 PM