Before generation, make sure that you have attached the Hibernate Extension file to the model, and checked the model for errors.
- Java CodeSelect .
- Specify a target directory.
- Define generation options.
- Click OK.
The generation produces the following files:
-
Persistent files (persistent classes, DAO, ...)
-
Eclipse and Eclipse WTP project artifacts
-
A home page
-
JSF pages for persistent classes:
-
A find page for searching objects
-
A list page for displaying find results
-
A create page for creating new objects
-
An edit page for updating objects
-
Managed beans
-
Page flows (face configuration files)