New Entity Class Wizard

See Also

This wizard creates a new entity class. You open the wizard by right-clicking a project node or subnode and choosing New > Other, selecting the Persistence category and then selecting Entity Class.

You set the following information in the wizard:

When you create the entity class, the IDE checks if there is a persistence unit for the project. If the IDE cannot locate a persistence unit, the Create Persistence Unit button appears. You can click Create Persistence Unit to open the Create Persistence Unit wizard. Alternatively, you can create a persistence unit later by choosing Persistence > Persistence Unit in the New File wizard.

See Also
About Java Persistence
Creating an Entity Class
Creating a Persistence Unit

Legal Notices