Java Reference
In-Depth Information
NetBeans can help us generate JPA controller classes from existing entities. These
JPA controller classes follow the DAO design pattern. To generate a JPA controller
class, we simply need to select the
Persistence
category and select the
JPA Controller
Classes
from Entity Classes
file type from the New File dialog.
In the next step in the wizard, we need to select the entity classes we wish to
generate JPA controller classes for.