New Persistence Unit Wizard: Provider and Database

See Also

This wizard generates a persistence unit for your project. In this panel you supply the information that will be used to enable the persistence of your entity classes. The properties of the persistence unit are stored in persistence.xml. After persistence.xml is created, you can open the file by double-clicking persistence.xml in the Projects window. In a web or enterprise application, persistence.xml is located under the Configuration Files node in the Projects window (src/conf directory in the Files window).

You see this panel when you open the New File wizard and select the Persistence category and then select Persistence Unit.

This panel also appears if you use the New Entity Class wizard to create an entity class and the project does not contain a persistence unit.

In the New Persistence Unit wizard, you specify the following:

See Also
Creating a Persistence Unit
About Persistence Units
About Java Persistence

Legal Notices