Author: buildbot
Date: Sat Aug 1 08:14:32 2015
New Revision: 960390
Log:
Staging update by buildbot for aries
Modified:
websites/staging/aries/trunk/content/ (props changed)
websites/staging/aries/trunk/content/modules/jpaproject.html
Propchange: websites/staging/aries/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Aug 1 08:14:32 2015
@@ -1 +1 @@
-1693600
+1693684
Modified: websites/staging/aries/trunk/content/modules/jpaproject.html
==============================================================================
--- websites/staging/aries/trunk/content/modules/jpaproject.html (original)
+++ websites/staging/aries/trunk/content/modules/jpaproject.html Sat Aug 1
08:14:32 2015
@@ -308,12 +308,9 @@ the bundle) will be searched.</p>
<p>The Aries JPA container bundle implements the OSGi JPA service
specification. </p>
<p>It tracks persistence unit bundles and creates an EntityManagerFactory
service as soon as all dependencies are met.</p>
<p>The EntityManagerFactory services will be registered with the following
properties: </p>
-<div class="codehilite"><pre><span class="n">osgi</span><span
class="p">.</span><span class="n">unit</span><span class="p">.</span><span
class="n">name</span> <span class="o">-</span> <span class="n">this</span>
<span class="n">is</span> <span class="n">the</span> <span
class="n">name</span> <span class="n">of</span> <span class="n">the</span>
<span class="n">persistence</span> <span class="n">unit</span>
-<span class="n">osgi</span><span class="p">.</span><span
class="n">unit</span><span class="p">.</span><span class="n">provider</span>
<span class="o">-</span> <span class="n">this</span> <span class="n">is</span>
<span class="n">the</span> <span class="n">class</span> <span
class="n">name</span> <span class="n">of</span> <span class="n">the</span>
<span class="n">JPA</span> <span class="n">PersistenceProvider</span> <span
class="n">that</span> <span class="n">was</span> <span class="n">used</span>
<span class="n">to</span> <span class="n">create</span> <span
class="n">the</span> <span class="n">EntityManagerFactory</span>
-<span class="n">org</span><span class="p">.</span><span
class="n">apache</span><span class="p">.</span><span
class="n">aries</span><span class="p">.</span><span class="n">jpa</span><span
class="p">.</span><span class="n">container</span><span class="p">.</span><span
class="n">managed</span> <span class="o">-</span> <span class="n">this</span>
<span class="n">property</span> <span class="n">will</span> <span
class="n">be</span> <span class="n">set</span> <span class="n">to</span> <span
class="n">true</span><span class="p">,</span> <span class="n">indicating</span>
<span class="n">this</span> <span class="n">is</span> <span class="n">a</span>
<span class="n">managed</span> <span class="n">EntityManagerFactory</span><span
class="p">.</span>
-</pre></div>
-
-
+<p>|osgi.unit.name | this is the name of the persistence unit|
+|osgi.unit.provider | this is the class name of the JPA PersistenceProvider
that was used to create the EntityManagerFactory|
+|org.apache.aries.jpa.container.managed | this property will be set to true,
indicating this is a managed EntityManagerFactory.|</p>
<p>For each persistence unit jpa container first determines which persistence
provider to use by analyzing the "provider" property of persistence.xml.
It will track a PersistenceProvider service that matches this name.</p>
<p>The next step is to configure a DataSource. The spec defines that the
database properties are used to determine which DataSourceFactory service to
use and