tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r805577 - in /websites/staging/openejb/trunk: ./ content/configuring-persistenceunits-in-tests.html
Date Tue, 21 Feb 2012 01:58:58 GMT
Author: buildbot
Date: Tue Feb 21 01:58:58 2012
New Revision: 805577

Log:
Staging update by buildbot for openejb

Modified:
    websites/staging/openejb/trunk/   (props changed)
    websites/staging/openejb/trunk/content/configuring-persistenceunits-in-tests.html

Propchange: websites/staging/openejb/trunk/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Feb 21 01:58:58 2012
@@ -1 +1 @@
-1291549
+1291550

Modified: websites/staging/openejb/trunk/content/configuring-persistenceunits-in-tests.html
==============================================================================
--- websites/staging/openejb/trunk/content/configuring-persistenceunits-in-tests.html (original)
+++ websites/staging/openejb/trunk/content/configuring-persistenceunits-in-tests.html Tue
Feb 21 01:58:58 2012
@@ -145,7 +145,7 @@ alter your persistence.xml for a test en
 
 <p><a name="ConfiguringPersistenceUnitsinTests-Overridingthe<jta-data-source>and<non-jta-data-source>"></a></p>
 
-<h2>Overriding the <jta-data-source> and <non-jta-data-source></h2>
+<h2>Overriding the $lt;jta-data-source> and $lt;non-jta-data-source></h2>
 
 <p>OpenEJB will automatically use the DataSources you have setup in your test
 environment, we're pretty good at guessing the right DataSources you intend
@@ -160,7 +160,7 @@ if we had to adjust the DataSources of y
 
 <p><a name="ConfiguringPersistenceUnitsinTests-Overridingthepersistence-unit<properties>"></a></p>
 
-<h2>Overriding the persistence-unit <properties></h2>
+<h2>Overriding the persistence-unit $lt;properties></h2>
 
 <p>You can override any property in your test setup via either system
 properties or the initial context properties.  The format is:</p>
@@ -197,11 +197,12 @@ context = new InitialContext(p);
 
 <p>The overriding order is as follows: 1 = highest, 4 = lowest.</p>
 
-<pre><code># InitialContext properties
-# jndi.properties from the classpath
-# System properties
-# persistence.xml properties
-</code></pre>
+<ol>
+<li>InitialContext properties</li>
+<li>jndi.properties from the classpath</li>
+<li>System properties</li>
+<li>persistence.xml properties</li>
+</ol>
 
 <p>By default there are no overrides in 1-3, so #4 is the only source of
 information.  </p>



Mime
View raw message