We're updating the issue view to help you get more done. 

Metamodel is not generated with @Generated annotation

Description

The static meta model does not have a @Generated. This is probably the reason that avoids Eclipse compiling of the derived classes (we must clean the project, or alter the generated class and save it). The eclipselink metamodel generator works fine, and the only difference between EclipseLink generator and hibernate generator is this annotation

You can see that many users are being affected by this issue in the comments here:
http://relation.to/Bloggers/HibernateStaticMetamodelGeneratorAnnotationProcessor

Environment

hibernate 3.5.4 and final metamodel version

Status

Assignee

Unassigned

Reporter

Paulo Silveira

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

1.0.0.Final

Priority

Major