Defining Persistent Types in orm.xml

  1. In Project Explorer, from the project context menu, choose Properties.

  2. Choose JPAJPA Diagram Editor .

  3. Select the Add to entity mappings in XML checkbox, to determine to which orm.xml file the persistent type and its attributes should be registered.

  4. Choose Apply, and then choose OK.