Author: buildbot
Date: Tue May 27 05:10:16 2014
New Revision: 910055
Log:
Staging update by buildbot for olingo
Modified:
websites/staging/olingo/trunk/content/ (props changed)
websites/staging/olingo/trunk/content/doc/tutorials/jparedefinemetadata.html
Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue May 27 05:10:16 2014
@@ -1 +1 @@
-1597527
+1597700
Modified:
websites/staging/olingo/trunk/content/doc/tutorials/jparedefinemetadata.html
==============================================================================
---
websites/staging/olingo/trunk/content/doc/tutorials/jparedefinemetadata.html
(original)
+++
websites/staging/olingo/trunk/content/doc/tutorials/jparedefinemetadata.html
Tue May 27 05:10:16 2014
@@ -241,10 +241,10 @@
<ol>
-<li>Store the JPA EDM Mapping model XML in <em>webapp</em> folder of Java web
application. Make sure the file is placed under the applications root folder
(relative to class path <em>../../WEB-INF/</em>classes) when the application is
deployed on web server.</li>
+<li>Deploy the JPA EDM Mapping model XML file in the root directory of your
web application archive (store it in the same directory as 'WEB-INF').</li>
<li>
<p>Pass the XML name into <em>ODataJPAContext</em>. In the method
<em>initializeODataJPAContext</em>, pass the name of the XML document as shown
below:</p>
-<div class="codehilite"><pre><span class="n">oDataJPAContext</span><span
class="p">.</span><span class="n">setJPAEdmNameMappingModel</span><span
class="p">(</span><span class="o"><</span><span class="n">name</span> <span
class="n">of</span> <span class="n">xml</span> <span class="n">file</span><span
class="o">></span><span class="p">);</span>
+<div class="codehilite"><pre><span class="n">oDataJPAContext</span><span
class="p">.</span><span class="n">setJPAEdmNameMappingModel</span><span
class="p">(</span><span class="o"><</span><span class="n">mapping</span>
<span class="n">XML</span> <span class="n">filename</span> <span
class="n">with</span> <span class="n">XML</span> <span
class="n">extension</span><span class="o">></span><span class="p">);</span>
</pre></div>