Skip to main content
diff options
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.doc.user/tasks028.htm')
1 files changed, 61 insertions, 0 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.doc.user/tasks028.htm b/jpa/plugins/org.eclipse.jpt.doc.user/tasks028.htm
new file mode 100644
index 0000000000..5315550132
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.doc.user/tasks028.htm
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "">
+<html xmlns="" xml:lang="en" lang="en">
+<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
+<meta http-equiv="Content-Style-Type" content="text/css" />
+<meta http-equiv="Content-Script-Type" content="text/javascript" />
+<title>Converting JPA metadata to XML</title>
+<meta name="copyright" content="Copyright (c) 2000, 2009 oracle . All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: Oracle - initial API and implementation" />
+<meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 1.0.11" />
+<meta name="date" content="2012-09-11T7:44:6Z" />
+<meta name="robots" content="noarchive" />
+<meta name="doctitle" content="Converting JPA metadata to XML" />
+<meta name="relnum" content="Release 3.2" />
+<meta name="partnum" content="Release 3.2" />
+<link rel="copyright" href="dcommon/html/cpyr.htm" title="Copyright" type="text/html" />
+<link rel="stylesheet" href="dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" />
+<p class="betadraftsubtitle">Beta Draft: 2012-09-11</p>
+<p><a id="CIHEHCHB" name="CIHEHCHB"></a></p>
+<div class="sect1"><!-- infolevel="all" infotype="General" -->
+<h1>Converting JPA metadata to XML</h1>
+<p>Starting in Release 3.2, Dali can convert all of the annotated JPA metadata 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.</p>
+<p>Right-click the project in the <span class="gui-object-title">Explorer</span> view and select <span class="gui-object-action">JPA Tools &gt; Move to XML</span> &gt; specific metadata (such as <span class="bold">Java Converters</span>, <span class="bold">Java Queries</span>, or <span class="bold">Java Generators</span>).</p>
+<div class="figure"><a id="sthref287" name="sthref287"></a>
+<p class="titleinfigure">Moving Metadata to XML</p>
+<img src="img/move_to_xml.png" alt="Moving Metadata to XML" title="Moving Metadata to XML" /><br /></div>
+<!-- class="figure" -->
+<p>The <a href="reference064.htm#CACJBCGG">JPA Metadata Conversion dialog</a> page appears.</p>
+<p>Enter the filename and location of the XML mapping file, and click <span class="bold">Finish</span>.</p>
+<p>Dali generates the XML file.</p>
+<a id="sthref288" name="sthref288"></a>
+<p class="subhead2">Related concepts</p>
+<p><a href="concept_persistence.htm#BABCAHIC">Understanding Java persistence</a></p>
+<!-- class="sect1" -->
+<!-- Start Footer -->
+<div class="footer">
+<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
+<col width="86%" />
+<col width="*" />
+<td align="left"><span class="copyrightlogo">Copyright&nbsp;&copy;&nbsp;2011, 2012,&nbsp;Oracle&nbsp;and/or&nbsp;its&nbsp;affiliates.&nbsp;All&nbsp;rights&nbsp;reserved.</span><br />
+<a href="dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td>
+<!-- class="footer" -->
+</html> \ No newline at end of file

Back to the top