Skip Headers
Dali Java Persistence Tools User Guide
Release 3.2
Release 3.2
  PDF
PDF
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Modifying persistent project properties
 
Next
Validating mappings and reporting problems
 

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).

    Figure 3-73 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