Hibernate annotations support in ORM persistence
Our Object-Relational Mapping (ORM) persistence technology generates Java code that helps you manipulate relational database records in an object-oriented way. Now a new option is provided for generating code with Hibernate annotations.
Generating ORM Code
Select menu
Tools >
Object-Relational Mapping (ORM) >
Generate Code....

In the
Database Code Generation dialog box, select “Code only” in
Generate, “Java” in
Language, and specify output directory in
Output Path. To enable Hibernate annotations to be generated, select “Annotation” in
Mapping Type.

The Java source files are generated to the output directory. You can see that Hibernate annotations are generated.

Resource