# Creating an orm.xml file

If you opt not to create an `orm.xml` file when you create a JPA project, you can create one using the Create ORM Mapping File wizard.

Use this procedure to create an `orm.xml` file:

1. From the Navigator or Project Explorer, select File > New > Other. The Select a Wizard dialog appears.

   The Select a Wizard Dialog

2. Select JPA ORM Mapping File and then click Next. The Mapping File page of the Create ORM Mapping File wizard appears.

   If you are using EclipseLink, you can select EclipseLink > EclipseLink ORM Mapping File.

   New Mapping File Location Page

3. Select the name and location of your mapping file and click Next. The Mapping File Options page appears.

   New Mapping File Options Page

4. Define the properties in the Mapping File Options page and click Finish. The `orm.xml` file appears in the `src` directory of the selected JPA project. You can manage the `orm.xml` file using the JPA Details view or through the XML Editor. See also JPA Details view (for orm.xml).

Related reference

- Create New JPA Project wizard

- New EclipseLink Mapping File dialog

Related tasks

- Create New JPA Project wizard

- Working with orm.xml file

Related concepts

- The orm.xml file