Add Persistence dialog |
Use the Add Persistence dialog to define the database connection used to store the persistence entities and to create the persistence.xml
file.
This table lists the properties available in the Add Persistence dialog.
Property | Description |
---|---|
Database Settings | Use these fields to define the database connection used to store the persistent entities. |
Connection | The database connection used to map the persistent entities. |
Schema | The database schema used to map the persistent entities. You must be selected to the database before selecting a schema. |
Classpath Configuration | Add libraries or JARs that contain the Java Persistence API (JPA) and entities to the project's Java Build Path. |
Packaging Settings | Use these fields to create the persistence.xml file.
|
Create persistence.xml | Specify if Dali should create the persistence.xml file.
|
Persistence Version |
|
Persistence Provider | The name of the JPA provider's javax.persistence.spi.PersistenceProvider class.
|
Persistence Unit Name | The name used to identify the persistence unit. You can use this name when referencing the persistence unit by the PersistenceContext and PersistenceUnit annotations or when creating an entity manager factor programmatically.
|