Java Reference
In-Depth Information
NetBeans allows us to generate JPA entities from an existing schema. To do so we
need to create a new project, then right-click on the project, then select
New | Entity
Classes from Database...
.
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.
We see a
New Entity Classes from Database
dialog as depicted in the
screenshot below: