# Managing the orm.xml file

When creating a JPA project, (see "Creating a new JPA project") you can also create the `orm.xml` file that defines the mapping metadata and defaults.

Eclipse creates the `META-INF\orm.xml` file in your project's directory:

Sample orm.xml File

    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="<PERSISTENCE_VERSION>"
          xmlns="http://java.sun.com/xml/ns/persistence"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
          http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
      <persistence-unit name="<PERSISTENCE_UNIT_NAME>">
        <provider="<PERSISTENCE_PROVIDER>" />
      </persistence-unit>
    </persistence>

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