Search for "Red Hat hbm2java docs" because the link is broken. Added bonus, so you do not need to search. Select both of these checkboxes to “upgrade” the generated Java. Unfortunately, the flag labels do not indicate what will happen if you check them. You might think that “Use Java 5 Syntax” has many consequences, and since it is disabled by default, this is not a desirable / typical behavior.
Be sure to check both fields for the use of annotations and generics. Then tell Eclipse under the “clear” options to generate a serial version UID. Took me 3 days to understand all this.
user3228876
source share