Mapping File

This table lists the properties of the Mapping File Wizard.

Mapping File Wizard Properties

Property Description Default

Project

The name of the JPA project.

Selected.

Source folder

The location of the project's src folder. If needed, click Browse to point the wizard to the src file's location.

Selected.

File Path

The location for the new orm.xml file.

Selected.

Default Access

Select whether the access to the entity is field-based or property-based, as defined in JPA specification.

  • None – No access type specified.

  • Property-based – Persistent state accessed through the property accessor methods. The property accessor methods must be public or private.

  • Field-based – Instance variables are accessed directly. All non-transient instance variables are persistent.

None

Add to persistence unit

Designates the persistence unit for this object map file.

Selected.


 

Related task

Creating a new JPA project
Creating a JPA Entity
Mapping an entity

 

Related task

Mapping File Wizard