Java Reference
In-Depth Information
To generate JPA entities from an existing schema such as the one we just created,
we need to create a new project, then right-click on the project, and then select the
Persistence
category and the
Entity Classes from Database
file type from the
New
File
dialog.
NetBeans allows us to generate JPA entities from pretty much any kind of
Java project, in our example we will be using a Web Application project.