Converting JPA metadata to XML

Starting in Release 3.2, Dali can convert metadata (such as converters, queries, and generators) into an XML mapping file. This allows you to maintain the global metadata for a persistence unit (such as queries and generators) in an XML mapping file.

  1. Right-click the project in the Explorer view and select JPA Tools > Move to XML > specific metadata (such as Java Converters, Java Queries, or Java Generators).

    Moving Metadata to XML

    Moving Metadata to XML

    The JPA Metadata Conversion dialog page appears.

  2. Enter the filename and location of the XML mapping file, and click Finish.

Dali generates the XML file.

Related concepts