You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by bu...@apache.org on 2014/02/05 11:18:10 UTC

svn commit: r896498 - in /websites/staging/olingo/trunk/content: ./ doc/tutorials/CreateWebApp.html

Author: buildbot
Date: Wed Feb  5 10:18:10 2014
New Revision: 896498

Log:
Staging update by buildbot for olingo

Modified:
    websites/staging/olingo/trunk/content/   (props changed)
    websites/staging/olingo/trunk/content/doc/tutorials/CreateWebApp.html

Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Feb  5 10:18:10 2014
@@ -1 +1 @@
-1564272
+1564698

Modified: websites/staging/olingo/trunk/content/doc/tutorials/CreateWebApp.html
==============================================================================
--- websites/staging/olingo/trunk/content/doc/tutorials/CreateWebApp.html (original)
+++ websites/staging/olingo/trunk/content/doc/tutorials/CreateWebApp.html Wed Feb  5 10:18:10 2014
@@ -169,7 +169,7 @@ The table gives the list of Maven depend
 <li>Declare persistence unit name as class variable. For example, private static final String PUNIT_NAME = "persistenceUnitName";
    <em>Note</em>: The PUNIT_NAME  refers to the persistence unit name maintained in the persistence.xml of JPA project.</li>
 <li>
-<p>Implement the abstract method initializeJPAContext. Here is the code snippet:</p>
+<p>Implement the abstract method <code>initializeODataJPAContext</code>. Here is the code snippet:</p>
 <div class="codehilite"><pre><span class="n">ODataJPAContext</span> <span class="n">oDataJPAContext</span> <span class="p">=</span> <span class="n">getODataJPAContext</span><span class="p">();</span>
 <span class="n">oDataJPAContext</span><span class="p">.</span><span class="n">setEntityManagerFactory</span><span class="p">(</span><span class="n">JPAEntityManagerFactory</span><span class="p">.</span><span class="n">getEntityManagerFactory</span><span class="p">(</span><span class="n">PUNIT_NAME</span><span class="p">));</span>
 <span class="n">oDataJPAContext</span><span class="p">.</span><span class="n">setPersistenceUnitName</span><span class="p">(</span><span class="n">PUNIT_NAME</span><span class="p">);</span>