openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r967325 [13/13] - /websites/staging/openjpa/trunk/content/
Date Wed, 30 Sep 2015 17:03:08 GMT
Modified: websites/staging/openjpa/trunk/content/testing.html
==============================================================================
--- websites/staging/openjpa/trunk/content/testing.html (original)
+++ websites/staging/openjpa/trunk/content/testing.html Wed Sep 30 17:03:02 2015
@@ -145,8 +145,19 @@ limitations under the License.
                                         </td>
                                         <td valign="top" width="100%" style="overflow:hidden;">
                                             <div class="wiki-content">
-                                                <p><a name="Testing"></a></p>
-<h1 id="running-and-writing-tests-with-openjpa">Running and <a href="writing-test-cases-for-openjpa.html">Writing</a> Tests with OpenJPA</h1>
+                                                <style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="Testing"></a></p>
+<h1 id="running-and-writing-tests-with-openjpa">Running and <a href="writing-test-cases-for-openjpa.html">Writing</a> Tests with OpenJPA<a class="headerlink" href="#running-and-writing-tests-with-openjpa" title="Permanent link">&para;</a></h1>
 <p>OpenJPA's unit tests are written using JUnit. For a template for a simple
 test case, see the code for <a href="http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/simple/TestPersistence.java?view=markup">TestPersistence.java</a>
 .</p>
@@ -155,7 +166,7 @@ test case, see the code for <a href="htt
 <p>Once you have downloaded and built OpenJPA (see <a href="building.html">Building</a>
 ), you can run individual tests using the "test" goal to maven. For
 example:</p>
-<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="o">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="o">=</span><span class="n">TestPersistence</span>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="p">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="p">=</span><span class="n">TestPersistence</span>
 </pre></div>
 
 
@@ -181,26 +192,26 @@ adding the following to ${user.home}/.m2
 <p>To get more debugging information (e.g., to see the SQL that is being
 executed against the database), you can enable trace-level logging from the
 command line using the "openjpa.Log" system property. For example:</p>
-<div class="codehilite"><pre><span class="nv">$</span> <span class="nv">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="o">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="o">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">Log</span><span class="o">=</span><span class="n">DefaultLevel</span><span class="o">=</span><span class="n">TRACE</span>
+<div class="codehilite"><pre>$ <span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="p">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="p">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Dopenjpa</span><span class="p">.</span><span class="n">Log</span><span class="p">=</span><span class="n">DefaultLevel</span><span class="p">=</span><span class="n">TRACE</span>
 
-<span class="p">[</span><span class="n">INFO</span><span class="p">]</span> <span class="n">Scanning</span> <span class="k">for</span> <span class="n">projects</span><span class="o">...</span>
-<span class="p">[</span><span class="n">INFO</span><span class="p">]</span> <span class="n">Reactor</span> <span class="n">build</span> <span class="n">order:</span> 
-<span class="o">...</span>
-<span class="mi">690</span>  <span class="n">test</span>  <span class="n">TRACE</span>  <span class="p">[</span><span class="n">main</span><span class="p">]</span> <span class="n">openjpa</span><span class="o">.</span><span class="n">jdbc</span><span class="o">.</span><span class="n">SQL</span> <span class="o">-</span> <span class="o">&lt;</span><span class="n">t</span> <span class="mi">4261185</span><span class="p">,</span> <span class="n">conn</span> <span class="mi">3061987</span><span class="o">&gt;</span> <span class="n">executing</span> <span class="n">prepstmnt</span> <span class="mi">12659709</span> 
+<span class="p">[</span><span class="n">INFO</span><span class="p">]</span> <span class="n">Scanning</span> <span class="k">for</span> <span class="n">projects</span><span class="p">...</span>
+<span class="p">[</span><span class="n">INFO</span><span class="p">]</span> <span class="n">Reactor</span> <span class="n">build</span> <span class="n">order</span><span class="p">:</span> 
+<span class="p">...</span>
+690  <span class="n">test</span>  <span class="n">TRACE</span>  <span class="p">[</span><span class="n">main</span><span class="p">]</span> <span class="n">openjpa</span><span class="p">.</span><span class="n">jdbc</span><span class="p">.</span><span class="n">SQL</span> <span class="o">-</span> <span class="o">&lt;</span><span class="n">t</span> 4261185<span class="p">,</span> <span class="n">conn</span> 3061987<span class="o">&gt;</span> <span class="n">executing</span> <span class="n">prepstmnt</span> 12659709 
    <span class="n">INSERT</span> <span class="n">INTO</span> <span class="n">AllFieldTypes</span> <span class="p">(</span><span class="n">id</span><span class="p">,</span> <span class="n">arrayOfStrings</span><span class="p">,</span> <span class="n">booleanField</span><span class="p">,</span> <span class="n">byteField</span><span class="p">,</span> <span class="n">charField</span><span class="p">,</span> <span class="n">dateField</span><span class="p">,</span> 
    <span class="n">doubleField</span><span class="p">,</span> <span class="n">floatField</span><span class="p">,</span> <span class="n">intField</span><span class="p">,</span> <span class="n">longField</span><span class="p">,</span> <span class="n">shortField</span><span class="p">,</span> <span class="n">stringField</span><span class="p">)</span> 
-   <span class="n">VALUES</span> <span class="p">(?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?,</span> <span class="p">?)</span> <span class="p">[</span><span class="n">params</span><span class="o">=</span><span class="p">(</span><span class="n">long</span><span class="p">)</span> <span class="mi">601</span><span class="p">,</span> <span class="p">(</span><span class="n">null</span><span class="p">)</span> <span class="n">null</span><span class="p">,</span> <span class="p">(</span><span class="nb">int</span><span class="p">)</span> <span class="mi">0</span><span class="p">,</span> <span class="p">(</span><span class="n">byte</span><span class="p">)</span> <span class="mi">0</span><span class="p">,</span> 
-   <span class="p">(</span><span class="nb">int</span><span class="p">)</span> <span class="mi">0</span><span class="p">,</span> <span class="p">(</span><span class="n">null</span><span class="p">)</span> <span class="n">null</span><span class="p">,</span> <span class="p">(</span><span class="n">double</span><span class="p">)</span> <span class="mf">0.0</span><span class="p">,</span> <span class="p">(</span><span class="n">float</span><span class="p">)</span> <span class="mf">0.0</span><span class="p">,</span> <span class="p">(</span><span class="nb">int</span><span class="p">)</span> <span class="mi">0</span><span class="p">,</span> <span class="p">(</span><span class="n">long</span><span class="p">)</span> <span class="mi">0</span><span class="p">,</span> <span class="p">(</span><span class="n">short</span><span class="p">)</span> <span class="mi">0</span><span class="p">,</span> <span class="p">(</span><span class="n">null</span><span class="p">)</span> <span class="n">null</span
 ><span class="p">]</span>
-<span class="mi">701</span>  <span class="n">test</span>  <span class="n">TRACE</span>  <span class="p">[</span><span class="n">main</span><span class="p">]</span> <span class="n">openjpa</span><span class="o">.</span><span class="n">jdbc</span><span class="o">.</span><span class="n">SQL</span> <span class="o">-</span> <span class="o">&lt;</span><span class="n">t</span> <span class="mi">4261185</span><span class="p">,</span> <span class="n">conn</span> <span class="mi">3061987</span><span class="o">&gt;</span> <span class="p">[</span><span class="mi">11</span> <span class="n">ms</span><span class="p">]</span> <span class="n">spent</span>
-<span class="mi">701</span>  <span class="n">test</span>  <span class="n">TRACE</span>  <span class="p">[</span><span class="n">main</span><span class="p">]</span> <span class="n">openjpa</span><span class="o">.</span><span class="n">jdbc</span><span class="o">.</span><span class="n">JDBC</span> <span class="o">-</span> <span class="o">&lt;</span><span class="n">t</span> <span class="mi">4261185</span><span class="p">,</span> <span class="n">conn</span> <span class="mi">3061987</span><span class="o">&gt;</span> <span class="p">[</span><span class="mi">0</span> <span class="n">ms</span><span class="p">]</span> <span class="n">commit</span>
-<span class="mi">702</span>  <span class="n">test</span>  <span class="n">TRACE</span>  <span class="p">[</span><span class="n">main</span><span class="p">]</span> <span class="n">openjpa</span><span class="o">.</span><span class="n">jdbc</span><span class="o">.</span><span class="n">JDBC</span> <span class="o">-</span> <span class="o">&lt;</span><span class="n">t</span> <span class="mi">4261185</span><span class="p">,</span> <span class="n">conn</span> <span class="mi">0</span><span class="o">&gt;</span> <span class="p">[</span><span class="mi">0</span> <span class="n">ms</span><span class="p">]</span> <span class="nb">close</span>
-<span class="o">...</span>
-<span class="nv">$</span>
+   <span class="n">VALUES</span> <span class="p">(</span>?<span class="p">,</span> ?<span class="p">,</span> ?<span class="p">,</span> ?<span class="p">,</span> ?<span class="p">,</span> ?<span class="p">,</span> ?<span class="p">,</span> ?<span class="p">,</span> ?<span class="p">,</span> ?<span class="p">,</span> ?<span class="p">,</span> ?<span class="p">)</span> <span class="p">[</span><span class="n">params</span><span class="p">=(</span><span class="n">long</span><span class="p">)</span> 601<span class="p">,</span> <span class="p">(</span><span class="n">null</span><span class="p">)</span> <span class="n">null</span><span class="p">,</span> <span class="p">(</span><span class="n">int</span><span class="p">)</span> 0<span class="p">,</span> <span class="p">(</span><span class="n">byte</span><span class="p">)</span> 0<span class="p">,</span> 
+   <span class="p">(</span><span class="n">int</span><span class="p">)</span> 0<span class="p">,</span> <span class="p">(</span><span class="n">null</span><span class="p">)</span> <span class="n">null</span><span class="p">,</span> <span class="p">(</span><span class="n">double</span><span class="p">)</span> 0<span class="p">.</span>0<span class="p">,</span> <span class="p">(</span><span class="n">float</span><span class="p">)</span> 0<span class="p">.</span>0<span class="p">,</span> <span class="p">(</span><span class="n">int</span><span class="p">)</span> 0<span class="p">,</span> <span class="p">(</span><span class="n">long</span><span class="p">)</span> 0<span class="p">,</span> <span class="p">(</span><span class="n">short</span><span class="p">)</span> 0<span class="p">,</span> <span class="p">(</span><span class="n">null</span><span class="p">)</span> <span class="n">null</span><span class="p">]</span>
+701  <span class="n">test</span>  <span class="n">TRACE</span>  <span class="p">[</span><span class="n">main</span><span class="p">]</span> <span class="n">openjpa</span><span class="p">.</span><span class="n">jdbc</span><span class="p">.</span><span class="n">SQL</span> <span class="o">-</span> <span class="o">&lt;</span><span class="n">t</span> 4261185<span class="p">,</span> <span class="n">conn</span> 3061987<span class="o">&gt;</span> <span class="p">[</span>11 <span class="n">ms</span><span class="p">]</span> <span class="n">spent</span>
+701  <span class="n">test</span>  <span class="n">TRACE</span>  <span class="p">[</span><span class="n">main</span><span class="p">]</span> <span class="n">openjpa</span><span class="p">.</span><span class="n">jdbc</span><span class="p">.</span><span class="n">JDBC</span> <span class="o">-</span> <span class="o">&lt;</span><span class="n">t</span> 4261185<span class="p">,</span> <span class="n">conn</span> 3061987<span class="o">&gt;</span> <span class="p">[</span>0 <span class="n">ms</span><span class="p">]</span> <span class="n">commit</span>
+702  <span class="n">test</span>  <span class="n">TRACE</span>  <span class="p">[</span><span class="n">main</span><span class="p">]</span> <span class="n">openjpa</span><span class="p">.</span><span class="n">jdbc</span><span class="p">.</span><span class="n">JDBC</span> <span class="o">-</span> <span class="o">&lt;</span><span class="n">t</span> 4261185<span class="p">,</span> <span class="n">conn</span> 0<span class="o">&gt;</span> <span class="p">[</span>0 <span class="n">ms</span><span class="p">]</span> <span class="n">close</span>
+<span class="p">...</span>
+$
 </pre></div>
 
 
 <p><a name="Testing-SettingadditionalLogparameters"></a></p>
-<h2 id="setting-additional-log-parameters">Setting additional Log parameters</h2>
+<h2 id="setting-additional-log-parameters">Setting additional Log parameters<a class="headerlink" href="#setting-additional-log-parameters" title="Permanent link">&para;</a></h2>
 <p>There are several parameters that are used by OpenJPA Log. Here are some
 that might be of value when debugging test cases. Note that the logger
 names are case sensitive while the log levels are not.</p>
@@ -230,17 +241,17 @@ output.</p>
 </ul>
 <p>For example, to avoid enhancement warnings, get detailed SQL information,
 and write the log data to a file:</p>
-<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">Dtest</span><span class="o">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">Log</span><span class="o">=</span><span class="n">Enhance</span><span class="o">=</span><span class="n">ERROR</span><span class="p">,</span><span class="n">SQL</span><span class="o">=</span><span class="n">TRACE</span><span class="p">,</span><span class="n">file</span><span class="o">=</span><span class="n">openjpa</span><span class="o">.</span><span class="nb">log</span>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">Dtest</span><span class="p">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Dopenjpa</span><span class="p">.</span><span class="n">Log</span><span class="p">=</span><span class="n">Enhance</span><span class="p">=</span><span class="n">ERROR</span><span class="p">,</span><span class="n">SQL</span><span class="p">=</span><span class="n">TRACE</span><span class="p">,</span><span class="n">file</span><span class="p">=</span><span class="n">openjpa</span><span class="p">.</span><span class="nb">log</span>
 </pre></div>
 
 
-<h1 id="testing-against-alternate-databases">Testing against alternate databases</h1>
+<h1 id="testing-against-alternate-databases">Testing against alternate databases<a class="headerlink" href="#testing-against-alternate-databases" title="Permanent link">&para;</a></h1>
 <p>By default, OpenJPA uses the <a href="http://db.apache.org/derby/">Derby</a>
 database for testing. The <code>openjpa-persistence-jdbc/pom.xml</code> POM
 declares various pre-defined databases against which tests can be executed.
 For example, to test against the stand-alone <a href="http://hsqldb.org/">HSQLDB</a>
  database, you can run with the "test-hsqldb" profile:</p>
-<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="o">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="o">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Ptest</span><span class="o">-</span><span class="n">hsqldb</span>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="p">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="p">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Ptest</span><span class="o">-</span><span class="n">hsqldb</span>
 </pre></div>
 
 
@@ -249,12 +260,12 @@ specify connection parameters to use for
 profile. You will need to manually provide the driver class and specify all
 of the connection parameters. For example, to test against Oracle, you
 might run:</p>
-<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="o">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="o">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Ptest</span><span class="o">-</span><span class="n">custom</span> <span class="o">\</span>
-  <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">custom</span><span class="o">.</span><span class="n">driverjar</span><span class="o">=</span><span class="nv">$</span><span class="err">(</span><span class="nv">pwd</span><span class="p">)</span><span class="sr">/drivers/</span><span class="n">jdbc</span><span class="o">-</span><span class="n">oracle</span><span class="o">-</span><span class="mi">10_2_0_1_0</span><span class="o">.</span><span class="n">jar</span> <span class="o">\</span>
-  <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">custom</span><span class="o">.</span><span class="n">driverclass</span><span class="o">=</span><span class="n">oracle</span><span class="o">.</span><span class="n">jdbc</span><span class="o">.</span><span class="n">driver</span><span class="o">.</span><span class="n">OracleDriver</span> <span class="o">\</span>
-  <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">custom</span><span class="o">.</span><span class="n">url</span><span class="o">=</span><span class="n">jdbc:oracle:thin:</span><span class="nv">@HOST:PORT:DBNAME</span> <span class="o">\</span>
-  <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">custom</span><span class="o">.</span><span class="n">username</span><span class="o">=</span><span class="n">USERNAME</span> <span class="o">\</span>
-  <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">custom</span><span class="o">.</span><span class="n">password</span><span class="o">=</span><span class="n">PASSWORD</span>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="p">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="p">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Ptest</span><span class="o">-</span><span class="n">custom</span> <span class="o">\</span>
+  <span class="o">-</span><span class="n">Dopenjpa</span><span class="p">.</span><span class="n">custom</span><span class="p">.</span><span class="n">driverjar</span><span class="p">=</span>$<span class="p">(</span><span class="n">pwd</span><span class="p">)</span><span class="o">/</span><span class="n">drivers</span><span class="o">/</span><span class="n">jdbc</span><span class="o">-</span><span class="n">oracle</span><span class="o">-</span>10<span class="n">_2_0_1_0</span><span class="p">.</span><span class="n">jar</span> <span class="o">\</span>
+  <span class="o">-</span><span class="n">Dopenjpa</span><span class="p">.</span><span class="n">custom</span><span class="p">.</span><span class="n">driverclass</span><span class="p">=</span><span class="n">oracle</span><span class="p">.</span><span class="n">jdbc</span><span class="p">.</span><span class="n">driver</span><span class="p">.</span><span class="n">OracleDriver</span> <span class="o">\</span>
+  <span class="o">-</span><span class="n">Dopenjpa</span><span class="p">.</span><span class="n">custom</span><span class="p">.</span><span class="n">url</span><span class="p">=</span><span class="n">jdbc</span><span class="p">:</span><span class="n">oracle</span><span class="p">:</span><span class="n">thin</span><span class="p">:@</span><span class="n">HOST</span><span class="p">:</span><span class="n">PORT</span><span class="p">:</span><span class="n">DBNAME</span> <span class="o">\</span>
+  <span class="o">-</span><span class="n">Dopenjpa</span><span class="p">.</span><span class="n">custom</span><span class="p">.</span><span class="n">username</span><span class="p">=</span><span class="n">USERNAME</span> <span class="o">\</span>
+  <span class="o">-</span><span class="n">Dopenjpa</span><span class="p">.</span><span class="n">custom</span><span class="p">.</span><span class="n">password</span><span class="p">=</span><span class="n">PASSWORD</span>
 </pre></div>
 
 
@@ -280,12 +291,12 @@ permanently declare the database connect
 
 
 <p>This profile can then be executed by running:</p>
-<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="o">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="o">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Ptest</span><span class="o">-</span><span class="n">custom</span><span class="p">,</span><span class="n">test</span><span class="o">-</span><span class="n">oracle</span>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">test</span> <span class="o">-</span><span class="n">DfailIfNoTests</span><span class="p">=</span><span class="n">false</span> <span class="o">-</span><span class="n">Dtest</span><span class="p">=</span><span class="n">TestPersistence</span> <span class="o">-</span><span class="n">Ptest</span><span class="o">-</span><span class="n">custom</span><span class="p">,</span><span class="n">test</span><span class="o">-</span><span class="n">oracle</span>
 </pre></div>
 
 
 <p><a name="Testing-RunningJUnitsinEclipse"></a></p>
-<h1 id="running-junits-in-eclipse">Running JUnits in Eclipse</h1>
+<h1 id="running-junits-in-eclipse">Running JUnits in Eclipse<a class="headerlink" href="#running-junits-in-eclipse" title="Permanent link">&para;</a></h1>
 <p>You'll probably want to setup a Debug Configuration in Eclipse for running
 the JUnit testcases.</p>
 <ol>
@@ -312,17 +323,17 @@ Configurations within this workspace.</p
 <li>
 <p>For the Preferences windows - Press New... to add two variables.
     <img alt="eclipse_dbgcfg_5.png" src="images/eclipse_dbgcfg_5.png" /></p>
-<div class="codehilite"><pre><span class="n">Name</span> <span class="o">=</span> <span class="n">openjpa</span><span class="o">.</span><span class="n">trace</span>
-<span class="n">Value</span> <span class="o">=</span> <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">Log</span><span class="o">=</span><span class="n">DefaultLevel</span><span class="o">=</span><span class="n">TRACE</span>
-<span class="n">Description</span> <span class="o">=</span> <span class="n">Set</span> <span class="n">OpenJPA</span> <span class="n">logging</span> <span class="n">to</span> <span class="n">TRACE</span>
+<div class="codehilite"><pre><span class="n">Name</span> <span class="p">=</span> <span class="n">openjpa</span><span class="p">.</span><span class="n">trace</span>
+<span class="n">Value</span> <span class="p">=</span> <span class="o">-</span><span class="n">Dopenjpa</span><span class="p">.</span><span class="n">Log</span><span class="p">=</span><span class="n">DefaultLevel</span><span class="p">=</span><span class="n">TRACE</span>
+<span class="n">Description</span> <span class="p">=</span> <span class="n">Set</span> <span class="n">OpenJPA</span> <span class="n">logging</span> <span class="n">to</span> <span class="n">TRACE</span>
 </pre></div>
 
 
 <p><img alt="eclipse_dbgcfg_6.png" src="images/eclipse_dbgcfg_6.png" /></p>
-<div class="codehilite"><pre><span class="n">Name</span> <span class="o">=</span> <span class="nb">connect</span><span class="o">.</span><span class="n">derby</span>
-<span class="n">Value</span> <span class="o">=</span> <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">ConnectionDriverName</span><span class="o">=</span><span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">derby</span><span class="o">.</span><span class="n">jdbc</span><span class="o">.</span><span class="n">EmbeddedDriver</span>
-    <span class="o">-</span><span class="n">Dopenjpa</span><span class="o">.</span><span class="n">ConnectionURL</span><span class="o">=</span><span class="n">jdbc:derby:target</span><span class="sr">/database/o</span><span class="n">penjpa</span><span class="o">-</span><span class="n">derby</span><span class="o">-</span><span class="n">database</span><span class="p">;</span><span class="n">create</span><span class="o">=</span><span class="n">true</span>
-<span class="n">Description</span> <span class="o">=</span> <span class="n">Connection</span> <span class="n">properties</span> <span class="k">for</span> <span class="n">Derby</span>
+<div class="codehilite"><pre><span class="n">Name</span> <span class="p">=</span> <span class="n">connect</span><span class="p">.</span><span class="n">derby</span>
+<span class="n">Value</span> <span class="p">=</span> <span class="o">-</span><span class="n">Dopenjpa</span><span class="p">.</span><span class="n">ConnectionDriverName</span><span class="p">=</span><span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">derby</span><span class="p">.</span><span class="n">jdbc</span><span class="p">.</span><span class="n">EmbeddedDriver</span>
+    <span class="o">-</span><span class="n">Dopenjpa</span><span class="p">.</span><span class="n">ConnectionURL</span><span class="p">=</span><span class="n">jdbc</span><span class="p">:</span><span class="n">derby</span><span class="p">:</span><span class="n">target</span><span class="o">/</span><span class="n">database</span><span class="o">/</span><span class="n">openjpa</span><span class="o">-</span><span class="n">derby</span><span class="o">-</span><span class="n">database</span><span class="p">;</span><span class="n">create</span><span class="p">=</span><span class="n">true</span>
+<span class="n">Description</span> <span class="p">=</span> <span class="n">Connection</span> <span class="k">properties</span> <span class="k">for</span> <span class="n">Derby</span>
 </pre></div>
 
 

Modified: websites/staging/openjpa/trunk/content/thanks.html
==============================================================================
--- websites/staging/openjpa/trunk/content/thanks.html (original)
+++ websites/staging/openjpa/trunk/content/thanks.html Wed Sep 30 17:03:02 2015
@@ -145,10 +145,21 @@ limitations under the License.
                                         </td>
                                         <td valign="top" width="100%" style="overflow:hidden;">
                                             <div class="wiki-content">
-                                                <p>The Apache OpenJPA team would like to thank the following individuals and
+                                                <style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p>The Apache OpenJPA team would like to thank the following individuals and
 organizations. </p>
 <p><a name="Thanks-ApacheSponsors"></a></p>
-<h1 id="apache-sponsors">Apache Sponsors</h1>
+<h1 id="apache-sponsors">Apache Sponsors<a class="headerlink" href="#apache-sponsors" title="Permanent link">&para;</a></h1>
 <p>Without those sponsors, the ASF would simply not exist or sustain its
 activities :
 <a href="http://www.apache.org/foundation/thanks.html">http://www.apache.org/foundation/thanks.html</a></p>
@@ -157,13 +168,13 @@ please check :
 <a href="http://www.apache.org/foundation/sponsorship.html">http://www.apache.org/foundation/sponsorship.html</a></p>
 <p>Thanks !</p>
 <p><a name="Thanks-WebsiteDesign"></a></p>
-<h2 id="website-design">Website Design</h2>
+<h2 id="website-design">Website Design<a class="headerlink" href="#website-design" title="Permanent link">&para;</a></h2>
 <p>Marc Prud'hommeaux - Wiki template design based on <a href="http://activemq.apache.org/">Apache ActiveMQ</a> template.</p>
 <p><a name="Thanks-OpenJPALogo"></a></p>
-<h2 id="openjpa-logo">OpenJPA Logo</h2>
+<h2 id="openjpa-logo">OpenJPA Logo<a class="headerlink" href="#openjpa-logo" title="Permanent link">&para;</a></h2>
 <p>Donald R. Woods</p>
 <p><a name="Thanks-Organizationswhohelpedourproject..."></a></p>
-<h2 id="organizations-who-helped-our-project">Organizations who helped our project . . .</h2>
+<h2 id="organizations-who-helped-our-project">Organizations who helped our project . . .<a class="headerlink" href="#organizations-who-helped-our-project" title="Permanent link">&para;</a></h2>
 <table>
 <tr><th>Organization </th><th> Donation type </th><th> Organization Contact </th><th> Apache Contact</th></tr>
 <tr>
@@ -175,7 +186,7 @@ please check :
 </table>
 
 <p><a name="Thanks-RelatedProjects"></a></p>
-<h2 id="related-projects">Related Projects</h2>
+<h2 id="related-projects">Related Projects<a class="headerlink" href="#related-projects" title="Permanent link">&para;</a></h2>
 <p>Other <a href="related-projects.html">Related Projects</a>
  that OpenJPA depends upon or uses.</p>
                                             </div>

Modified: websites/staging/openjpa/trunk/content/tips-n-techniques.html
==============================================================================
--- websites/staging/openjpa/trunk/content/tips-n-techniques.html (original)
+++ websites/staging/openjpa/trunk/content/tips-n-techniques.html Wed Sep 30 17:03:02 2015
@@ -145,13 +145,22 @@ limitations under the License.
                                         </td>
                                         <td valign="top" width="100%" style="overflow:hidden;">
                                             <div class="wiki-content">
-                                                <p><a name="Tips.n.Techniques"></a></p>
-<h1 id="tips-and-techniquies">Tips and Techniquies</h1>
+                                                <style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="Tips.n.Techniques"></a></p>
+<h1 id="tips-and-techniquies">Tips and Techniquies<a class="headerlink" href="#tips-and-techniquies" title="Permanent link">&para;</a></h1>
 <ul>
-<li><a href="writing-test-cases-for-openjpa.html">Tips on writing TestCase for OpenJPA</a> &mdash; <SPAN class="smalltext">Tips on writing TestCase for OpenJPA</SPAN>                          <br />
-</li>
-<li><a href="buildbot.tips.n.techniques.html">Tips on Using Apache BuildBot for OpenJPA Documentation Build</a> &mdash; <SPAN class="smalltext">Tips on Using Apache BuildBot for OpenJPA Documentation Build</SPAN>                          <br />
-</li>
+<li><a href="writing-test-cases-for-openjpa.html">Tips on writing TestCase for OpenJPA</a> &mdash; <SPAN class="smalltext">Tips on writing TestCase for OpenJPA</SPAN>                            </li>
+<li><a href="buildbot.tips.n.techniques.html">Tips on Using Apache BuildBot for OpenJPA Documentation Build</a> &mdash; <SPAN class="smalltext">Tips on Using Apache BuildBot for OpenJPA Documentation Build</SPAN>                            </li>
 </ul>
                                             </div>
                                         </td>

Modified: websites/staging/openjpa/trunk/content/tools.html
==============================================================================
--- websites/staging/openjpa/trunk/content/tools.html (original)
+++ websites/staging/openjpa/trunk/content/tools.html Wed Sep 30 17:03:02 2015
@@ -145,15 +145,26 @@ limitations under the License.
                                         </td>
                                         <td valign="top" width="100%" style="overflow:hidden;">
                                             <div class="wiki-content">
-                                                <p><a name="Tools-ToolsforOpenJPA"></a></p>
-<h1 id="tools-for-openjpa">Tools for OpenJPA</h1>
+                                                <style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="Tools-ToolsforOpenJPA"></a></p>
+<h1 id="tools-for-openjpa">Tools for OpenJPA<a class="headerlink" href="#tools-for-openjpa" title="Permanent link">&para;</a></h1>
 <p>This page will host description of design-time and runtime tools for
 OpenJPA.
 The tools mentioned below are available as command-line utilities. In the
 future, they may be made available as interactive graphical tools
 integrated into popular IDEs such as Eclipse or IntelliJ. </p>
 <p><a name="Tools-ExistingOpenJPATools"></a></p>
-<h3 id="existing-openjpa-tools">Existing OpenJPA Tools</h3>
+<h3 id="existing-openjpa-tools">Existing OpenJPA Tools<a class="headerlink" href="#existing-openjpa-tools" title="Permanent link">&para;</a></h3>
 <p>The OpenJPA distribution and runtime already comes with a series of useful
 tools to:</p>
 <ul>
@@ -167,7 +178,7 @@ tools to:</p>
  canonical metamodel classes for strictly-typed Criteria queries</li>
 </ul>
 <p><a name="Tools-ToolsUnderDevelopment"></a></p>
-<h3 id="tools-under-development">Tools Under Development</h3>
+<h3 id="tools-under-development">Tools Under Development<a class="headerlink" href="#tools-under-development" title="Permanent link">&para;</a></h3>
 <p>A new OpenJPA Tools subproject has been created to deliver a new set of
 tools that are decoupled from a specific OpenJPA release.</p>
 <ul>

Modified: websites/staging/openjpa/trunk/content/troubleshoot.html
==============================================================================
--- websites/staging/openjpa/trunk/content/troubleshoot.html (original)
+++ websites/staging/openjpa/trunk/content/troubleshoot.html Wed Sep 30 17:03:02 2015
@@ -145,11 +145,21 @@ limitations under the License.
                                         </td>
                                         <td valign="top" width="100%" style="overflow:hidden;">
                                             <div class="wiki-content">
-                                                <p><a name="Trouble.Shoot"></a></p>
-<h1 id="trouble-shooting-openjpa-problems">Trouble Shooting OpenJPA Problems</h1>
+                                                <style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="Trouble.Shoot"></a></p>
+<h1 id="trouble-shooting-openjpa-problems">Trouble Shooting OpenJPA Problems<a class="headerlink" href="#trouble-shooting-openjpa-problems" title="Permanent link">&para;</a></h1>
 <ul>
-<li><a href="detached.state.serialization.html">Detached State Serialization</a> &mdash; <SPAN class="smalltext">Detached State Serialization</SPAN>                          <br />
-</li>
+<li><a href="detached.state.serialization.html">Detached State Serialization</a> &mdash; <SPAN class="smalltext">Detached State Serialization</SPAN>                            </li>
 </ul>
                                             </div>
                                         </td>

Modified: websites/staging/openjpa/trunk/content/update-release-text-files.html
==============================================================================
--- websites/staging/openjpa/trunk/content/update-release-text-files.html (original)
+++ websites/staging/openjpa/trunk/content/update-release-text-files.html Wed Sep 30 17:03:02 2015
@@ -145,10 +145,21 @@ limitations under the License.
                                         </td>
                                         <td valign="top" width="100%" style="overflow:hidden;">
                                             <div class="wiki-content">
-                                                <p><a name="Updatereleasetextfiles-Updatingreleasetextfiles."></a></p>
-<h1 id="updating-release-text-files">Updating release text files.</h1>
+                                                <style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="Updatereleasetextfiles-Updatingreleasetextfiles."></a></p>
+<h1 id="updating-release-text-files">Updating release text files.<a class="headerlink" href="#updating-release-text-files" title="Permanent link">&para;</a></h1>
 <p><a name="Updatereleasetextfiles-ObtainingthelistofresolvedissuesfromJIRA.&nbsp;"></a></p>
-<h2 id="obtaining-the-list-of-resolved-issues-from-jirawzxhzdk6">Obtaining the list of resolved issues from JIRA.&nbsp;</h2>
+<h2 id="obtaining-the-list-of-resolved-issues-from-jira">Obtaining the list of resolved issues from JIRA.&nbsp;<a class="headerlink" href="#obtaining-the-list-of-resolved-issues-from-jira" title="Permanent link">&para;</a></h2>
 <ol>
 <li>Go to the main JIRA releases page at <a href="http://issues.apache.org/jira/browse/OPENJPA?report=com.sourcelabs.jira.plugin.portlet.releases:releases-projecttab">http://issues.apache.org/jira/browse/OPENJPA?report=com.sourcelabs.jira.plugin.portlet.releases:releases-projecttab</a></li>
 <li>Under Unreleased find the version you're about to release and click on
@@ -157,7 +168,7 @@ Keep this page open since it contains a
 the documents you will edit.</li>
 </ol>
 <p><a name="Updatereleasetextfiles-Updatetextfiles"></a></p>
-<h2 id="update-text-files">Update text files</h2>
+<h2 id="update-text-files">Update text files<a class="headerlink" href="#update-text-files" title="Permanent link">&para;</a></h2>
 <ul>
 <li>openjpa-projects/CHANGES.txt<ul>
 <li>Update the overview paragraph with the new version and a brief description of the release.</li>

Modified: websites/staging/openjpa/trunk/content/using-criteria-api-in-daytrader.html
==============================================================================
--- websites/staging/openjpa/trunk/content/using-criteria-api-in-daytrader.html (original)
+++ websites/staging/openjpa/trunk/content/using-criteria-api-in-daytrader.html Wed Sep 30 17:03:02 2015
@@ -145,41 +145,50 @@ limitations under the License.
                                         </td>
                                         <td valign="top" width="100%" style="overflow:hidden;">
                                             <div class="wiki-content">
-                                                <p><a name="UsingCriteriaAPIinDayTrader-UsingCriteriaAPIinDayTrader"></a></p>
-<h1 id="using-criteria-api-in-daytrader">Using Criteria API in DayTrader</h1>
+                                                <style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="UsingCriteriaAPIinDayTrader-UsingCriteriaAPIinDayTrader"></a></p>
+<h1 id="using-criteria-api-in-daytrader">Using Criteria API in DayTrader<a class="headerlink" href="#using-criteria-api-in-daytrader" title="Permanent link">&para;</a></h1>
 <p>A current DayTrader project implementation in Apache Geronimo contains
 several JPQL queries. These can easily be converted to JPA Criteria API
 queries. A sample with this conversion can be created to run on either the
 Apache Geronimo server or the WebSphere Application Server with the
 built-in Derby database.</p>
 <p><a name="UsingCriteriaAPIinDayTrader-DownloadingDayTrader"></a></p>
-<h2 id="downloading-daytrader">Downloading DayTrader</h2>
+<h2 id="downloading-daytrader">Downloading DayTrader<a class="headerlink" href="#downloading-daytrader" title="Permanent link">&para;</a></h2>
 <p>You must have Subversion installed in order to download the DayTrader implementation.Subversion can be downloaded from&nbsp;<a href="http://subversion.apache.org/packages.html">http://subversion.apache.org/packages.html</a>
 . Use the 2.1.3 version of DayTrader for this sample. Follow the following steps:</p>
 <ol>
 <li>Create a root directory for the download. For this example, we will use a directory called <em>DayTrader</em>.</li>
 <li>Create subdirectories <strong>branches/2.1.3</strong> under the <strong>DayTrader</strong> directory</li>
 <li>cd to <strong>DayTrader</strong></li>
-<li>
-<p>Issue the following subversion command:</p>
-<div class="codehilite"><pre><span class="n">svn</span> <span class="n">checkout</span> <span class="n">https:</span><span class="sr">//s</span><span class="n">vn</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/repos/</span><span class="n">asf</span><span class="sr">/geronimo/</span><span class="n">daytrader</span><span class="sr">/branches/</span><span class="mf">2.1.3</span> <span class="n">branches</span><span class="o">/</span><span class="mf">2.1.3</span> <span class="o">.</span>
+<li>Issue the following subversion command:<div class="codehilite"><pre><span class="n">svn</span> <span class="n">checkout</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">svn</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">org</span><span class="o">/</span><span class="n">repos</span><span class="o">/</span><span class="n">asf</span><span class="o">/</span><span class="n">geronimo</span><span class="o">/</span><span class="n">daytrader</span><span class="o">/</span><span class="n">branches</span><span class="o">/</span>2<span class="p">.</span>1<span class="p">.</span>3 <span class="n">branches</span><span class="o">/</span>2<span class="p">.</span>1<span class="p">.</span>3 <span class="p">.</span>
 </pre></div>
 
 
 </li>
 </ol>
 <p><a name="UsingCriteriaAPIinDayTrader-BuildDayTrader"></a></p>
-<h2 id="build-daytrader">Build DayTrader</h2>
+<h2 id="build-daytrader">Build DayTrader<a class="headerlink" href="#build-daytrader" title="Permanent link">&para;</a></h2>
 <p>You must have maven installed in order to build DayTrader. Maven can be downloaded from <a href="http://maven.apache.org/download.html">http://maven.apache.org/download.html</a>. Unzip the file to a directory and run mvn.bat\|.sh in the bin
 subdirectory to install. Add the bin subdirectory to you system path.</p>
 <p>Maven needs a repository. Typically it is at the following:</p>
 <ul>
-<li><strong>Windows</strong> - C:\Documents and Settings\&lt;userid&gt;.m2\repository</li>
+<li><strong>Windows</strong> - C:\Documents and Settings\<userid>.m2\repository</li>
 <li><strong>Linux/unix</strong> - \~/.m2/repository</li>
 </ul>
 <p>From the <strong>DayTrader/branches/2.1.3</strong> directory, type "mvn clean install" to build the project. (Note: If you see errors that say "java.util.zip.ZipException: error in opening zip file", ignore them for this exercise.) </p>
 <p><a name="UsingCriteriaAPIinDayTrader-ApplytheDayTraderPatch"></a></p>
-<h2 id="apply-the-daytrader-patch">Apply the DayTrader Patch</h2>
+<h2 id="apply-the-daytrader-patch">Apply the DayTrader Patch<a class="headerlink" href="#apply-the-daytrader-patch" title="Permanent link">&para;</a></h2>
 <p>The following patch can be applied using a system or downloaded <em>patch</em> utility. (For example, you can get a patch utility for Windows from&nbsp;<a href="http://gnuwin32.sourceforge.net/packages/patch.htm">http://gnuwin32.sourceforge.net/packages/patch.htm</a>
 .)</p>
 <ul>
@@ -189,7 +198,7 @@ subdirectory to install. Add the bin sub
 <p>Download the appropriate patch and go to the <em>DayTrader/branches.2.1.3</em>
 directory to apply it. For example, with the patch utility mentioned above,
 you can type:</p>
-<div class="codehilite"><pre><span class="n">patch</span> <span class="o">\-</span><span class="n">p0</span> <span class="o">\-</span><span class="n">i</span> <span class="sr">&lt;path-to&gt;</span><span class="o">/</span><span class="n">daytrader_geronimo</span><span class="o">.</span><span class="n">patch</span>
+<div class="codehilite"><pre><span class="n">patch</span> <span class="o">\-</span><span class="n">p0</span> <span class="o">\-</span><span class="nb">i</span> <span class="o">&lt;</span><span class="n">path</span><span class="o">-</span><span class="n">to</span><span class="o">&gt;/</span><span class="n">daytrader_geronimo</span><span class="p">.</span><span class="n">patch</span>
 </pre></div>
 
 
@@ -205,10 +214,10 @@ you can type:</p>
 command again in order for this file to compile.)</p>
 <p>You can also <a href="apply-an-eclipse-patch.html">Apply an Eclipse Patch</a></p>
 <p><a name="UsingCriteriaAPIinDayTrader-Re-createtheDayTraderearfile"></a></p>
-<h2 id="re-create-the-daytrader-ear-file">Re-create the DayTrader ear file</h2>
+<h2 id="re-create-the-daytrader-ear-file">Re-create the DayTrader ear file<a class="headerlink" href="#re-create-the-daytrader-ear-file" title="Permanent link">&para;</a></h2>
 <p>From the <strong>DayTrader/branches/2.1.3</strong> directory, type "mvn clean install" to build the project.</p>
 <p><a name="UsingCriteriaAPIinDayTrader-RunDayTraderonGeronimo"></a></p>
-<h2 id="run-daytrader-on-geronimo">Run DayTrader on Geronimo</h2>
+<h2 id="run-daytrader-on-geronimo">Run DayTrader on Geronimo<a class="headerlink" href="#run-daytrader-on-geronimo" title="Permanent link">&para;</a></h2>
 <p>This writeup assumes some familiarity with Apache Geronimo. The download
 and documentation can be found at <a href="http://geronimo.apache.org/">http://geronimo.apache.org.</a></p>
 <p>Install and start the Geronimo server.</p>
@@ -243,7 +252,7 @@ and documentation can be found at <a hre
 <li>Click on the <em>Trading &amp; Portfolios</em> tab, login, and start trading</li>
 </ol>
 <p><a name="UsingCriteriaAPIinDayTrader-RunDayTraderonWebSphere"></a></p>
-<h2 id="run-daytrader-on-websphere">Run DayTrader on WebSphere</h2>
+<h2 id="run-daytrader-on-websphere">Run DayTrader on WebSphere<a class="headerlink" href="#run-daytrader-on-websphere" title="Permanent link">&para;</a></h2>
 <p>This writeup assumes some familiarity with WebSphere. Also, the script that
 is provided assumes a local unmanaged node with a single server.</p>
 <p>At a minimum, the WebSphere Application Server must be at version 7.0.0.9.
@@ -259,7 +268,7 @@ install the application.</p>
 <li>Start the server.</li>
 <li>
 <p>Run the script using the following command:</p>
-<div class="codehilite"><pre><span class="n">wsadmin</span> <span class="o">-</span><span class="n">f</span> <span class="o">&lt;</span><span class="n">location</span> <span class="n">ofdaytrader_singleServer</span><span class="o">.</span><span class="n">py</span><span class="o">&gt;</span> <span class="o">&lt;</span><span class="n">script</span> <span class="n">options</span><span class="o">&gt;</span>
+<div class="codehilite"><pre><span class="n">wsadmin</span> <span class="o">-</span><span class="n">f</span> <span class="o">&lt;</span><span class="n">location</span> <span class="n">ofdaytrader_singleServer</span><span class="p">.</span><span class="n">py</span><span class="o">&gt;</span> <span class="o">&lt;</span><span class="n">script</span> <span class="n">options</span><span class="o">&gt;</span>
 </pre></div>
 
 

Modified: websites/staging/openjpa/trunk/content/verifying-release-signatures.html
==============================================================================
--- websites/staging/openjpa/trunk/content/verifying-release-signatures.html (original)
+++ websites/staging/openjpa/trunk/content/verifying-release-signatures.html Wed Sep 30 17:03:02 2015
@@ -145,7 +145,18 @@ limitations under the License.
                                         </td>
                                         <td valign="top" width="100%" style="overflow:hidden;">
                                             <div class="wiki-content">
-                                                <p>On unix platforms the following command can be executed : </p>
+                                                <style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p>On unix platforms the following command can be executed : </p>
 <div class="codehilite"><pre>for file in `find . -type f -iname &#39;*.asc&#39;`
 do
     gpg --verify <span class="cp">${</span><span class="nb">file</span><span class="cp">}</span> 
@@ -154,13 +165,13 @@ done
 
 
 <p>You'll need to look at the output contains only good signaturesie :</p>
-<div class="codehilite"><pre>        <span class="n">gpg:</span> <span class="n">Good</span> <span class="n">signature</span> <span class="n">from</span> <span class="s">&quot;Michael Dick (CODE SIGNING KEY) &lt;mikedd@apache.org&gt;&quot;</span>
-        <span class="n">gpg:</span> <span class="n">Signature</span> <span class="n">made</span> <span class="n">Tue</span> <span class="mi">12</span> <span class="n">Jan</span> <span class="mi">2010</span> <span class="mo">05</span><span class="p">:</span><span class="mi">30</span><span class="p">:</span><span class="mi">17</span> <span class="n">PM</span> <span class="n">CST</span> <span class="n">using</span> <span class="n">RSA</span> <span class="n">key</span> <span class="n">ID</span> <span class="mi">7412</span><span class="n">AD2C</span>
-        <span class="n">gpg:</span> <span class="n">Good</span> <span class="n">signature</span> <span class="n">from</span> <span class="s">&quot;Michael Dick (CODE SIGNING KEY) &lt;mikedd@apache.org&gt;&quot;</span>
-        <span class="n">gpg:</span> <span class="n">Signature</span> <span class="n">made</span> <span class="n">Tue</span> <span class="mi">12</span> <span class="n">Jan</span> <span class="mi">2010</span> <span class="mo">05</span><span class="p">:</span><span class="mi">30</span><span class="p">:</span><span class="mi">18</span> <span class="n">PM</span> <span class="n">CST</span> <span class="n">using</span> <span class="n">RSA</span> <span class="n">key</span> <span class="n">ID</span> <span class="mi">7412</span><span class="n">AD2C</span>
-        <span class="n">gpg:</span> <span class="n">Good</span> <span class="n">signature</span> <span class="n">from</span> <span class="s">&quot;Michael Dick (CODE SIGNING KEY) &lt;mikedd@apache.org&gt;&quot;</span>
-        <span class="n">gpg:</span> <span class="n">Signature</span> <span class="n">made</span> <span class="n">Tue</span> <span class="mi">12</span> <span class="n">Jan</span> <span class="mi">2010</span> <span class="mo">05</span><span class="p">:</span><span class="mi">30</span><span class="p">:</span><span class="mi">17</span> <span class="n">PM</span> <span class="n">CST</span> <span class="n">using</span> <span class="n">RSA</span> <span class="n">key</span> <span class="n">ID</span> <span class="mi">7412</span><span class="n">AD2C</span>
-        <span class="n">gpg:</span> <span class="n">Good</span> <span class="n">signature</span> <span class="n">from</span> <span class="s">&quot;Michael Dick (CODE SIGNING KEY) &lt;mikedd@apache.org&gt;&quot;</span>
+<div class="codehilite"><pre>        <span class="n">gpg</span><span class="p">:</span> <span class="n">Good</span> <span class="n">signature</span> <span class="n">from</span> &quot;<span class="n">Michael</span> <span class="n">Dick</span> <span class="p">(</span><span class="n">CODE</span> <span class="n">SIGNING</span> <span class="n">KEY</span><span class="p">)</span> <span class="o">&lt;</span><span class="n">mikedd</span><span class="p">@</span><span class="n">apache</span><span class="p">.</span><span class="n">org</span><span class="o">&gt;</span>&quot;
+        <span class="n">gpg</span><span class="p">:</span> <span class="n">Signature</span> <span class="n">made</span> <span class="n">Tue</span> 12 <span class="n">Jan</span> 2010 05<span class="p">:</span>30<span class="p">:</span>17 <span class="n">PM</span> <span class="n">CST</span> <span class="n">using</span> <span class="n">RSA</span> <span class="n">key</span> <span class="n">ID</span> 7412<span class="n">AD2C</span>
+        <span class="n">gpg</span><span class="p">:</span> <span class="n">Good</span> <span class="n">signature</span> <span class="n">from</span> &quot;<span class="n">Michael</span> <span class="n">Dick</span> <span class="p">(</span><span class="n">CODE</span> <span class="n">SIGNING</span> <span class="n">KEY</span><span class="p">)</span> <span class="o">&lt;</span><span class="n">mikedd</span><span class="p">@</span><span class="n">apache</span><span class="p">.</span><span class="n">org</span><span class="o">&gt;</span>&quot;
+        <span class="n">gpg</span><span class="p">:</span> <span class="n">Signature</span> <span class="n">made</span> <span class="n">Tue</span> 12 <span class="n">Jan</span> 2010 05<span class="p">:</span>30<span class="p">:</span>18 <span class="n">PM</span> <span class="n">CST</span> <span class="n">using</span> <span class="n">RSA</span> <span class="n">key</span> <span class="n">ID</span> 7412<span class="n">AD2C</span>
+        <span class="n">gpg</span><span class="p">:</span> <span class="n">Good</span> <span class="n">signature</span> <span class="n">from</span> &quot;<span class="n">Michael</span> <span class="n">Dick</span> <span class="p">(</span><span class="n">CODE</span> <span class="n">SIGNING</span> <span class="n">KEY</span><span class="p">)</span> <span class="o">&lt;</span><span class="n">mikedd</span><span class="p">@</span><span class="n">apache</span><span class="p">.</span><span class="n">org</span><span class="o">&gt;</span>&quot;
+        <span class="n">gpg</span><span class="p">:</span> <span class="n">Signature</span> <span class="n">made</span> <span class="n">Tue</span> 12 <span class="n">Jan</span> 2010 05<span class="p">:</span>30<span class="p">:</span>17 <span class="n">PM</span> <span class="n">CST</span> <span class="n">using</span> <span class="n">RSA</span> <span class="n">key</span> <span class="n">ID</span> 7412<span class="n">AD2C</span>
+        <span class="n">gpg</span><span class="p">:</span> <span class="n">Good</span> <span class="n">signature</span> <span class="n">from</span> &quot;<span class="n">Michael</span> <span class="n">Dick</span> <span class="p">(</span><span class="n">CODE</span> <span class="n">SIGNING</span> <span class="n">KEY</span><span class="p">)</span> <span class="o">&lt;</span><span class="n">mikedd</span><span class="p">@</span><span class="n">apache</span><span class="p">.</span><span class="n">org</span><span class="o">&gt;</span>&quot;
 </pre></div>
                                             </div>
                                         </td>

Modified: websites/staging/openjpa/trunk/content/websphere-application-server.html
==============================================================================
--- websites/staging/openjpa/trunk/content/websphere-application-server.html (original)
+++ websites/staging/openjpa/trunk/content/websphere-application-server.html Wed Sep 30 17:03:02 2015
@@ -145,17 +145,28 @@ limitations under the License.
                                         </td>
                                         <td valign="top" width="100%" style="overflow:hidden;">
                                             <div class="wiki-content">
-                                                <p><a name="WebsphereApplicationServer-FetchStatisticToolUsageforWebsphereApplicationServer"></a></p>
-<h1 id="fetch-statistic-tool-usage-for-websphere-application-server">Fetch Statistic Tool Usage for Websphere Application Server</h1>
+                                                <style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="WebsphereApplicationServer-FetchStatisticToolUsageforWebsphereApplicationServer"></a></p>
+<h1 id="fetch-statistic-tool-usage-for-websphere-application-server">Fetch Statistic Tool Usage for Websphere Application Server<a class="headerlink" href="#fetch-statistic-tool-usage-for-websphere-application-server" title="Permanent link">&para;</a></h1>
 <p><a name="WebsphereApplicationServer-Download"></a></p>
-<h2 id="download">Download</h2>
+<h2 id="download">Download<a class="headerlink" href="#download" title="Permanent link">&para;</a></h2>
 <ul>
 <li>The latest OpenJPA Tools JAR file can be download from the <a href="https://repository.apache.org/content/groups/snapshots/org/apache/openjpa/openjpa-fetch-statistics-was/">SNAPSHOT Repository</a>
  or can be built from the source code in <a href="https://svn.apache.org/repos/asf/openjpa/trunk/openjpa-tools/openjpa-fetch-statistics-was/">svn</a>
  by using Maven 2.2.1 and Java SE 6.</li>
 </ul>
 <p><a name="WebsphereApplicationServer-Configuration"></a></p>
-<h2 id="configuration">Configuration</h2>
+<h2 id="configuration">Configuration<a class="headerlink" href="#configuration" title="Permanent link">&para;</a></h2>
 <ul>
 <li>Put openjpa-fetch-statistics-VERSION-was.jar into the WAS_HOME\plugins
 directory.</li>

Modified: websites/staging/openjpa/trunk/content/whither-openjpa.html
==============================================================================
--- websites/staging/openjpa/trunk/content/whither-openjpa.html (original)
+++ websites/staging/openjpa/trunk/content/whither-openjpa.html Wed Sep 30 17:03:02 2015
@@ -145,7 +145,18 @@ limitations under the License.
                                         </td>
                                         <td valign="top" width="100%" style="overflow:hidden;">
                                             <div class="wiki-content">
-                                                <p><a name="Whither-OpenJPA"></a></p>
+                                                <style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="Whither-OpenJPA"></a></p>
 <p>Discussion topics: OpenJPA 1.0, OpenJPA 1.1, JPA 2.0, SDO, etc.</p>
 <ul>
 <li>

Modified: websites/staging/openjpa/trunk/content/writing-test-cases-for-openjpa.html
==============================================================================
--- websites/staging/openjpa/trunk/content/writing-test-cases-for-openjpa.html (original)
+++ websites/staging/openjpa/trunk/content/writing-test-cases-for-openjpa.html Wed Sep 30 17:03:02 2015
@@ -145,12 +145,23 @@ limitations under the License.
                                         </td>
                                         <td valign="top" width="100%" style="overflow:hidden;">
                                             <div class="wiki-content">
-                                                <p><a name="WritingTestCasesForOpenJPA-TipsonwritingTestCaseforOpenJPA"></a></p>
-<h1 id="tips-on-writing-testcase-for-openjpa">Tips on writing TestCase for OpenJPA</h1>
+                                                <style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<p><a name="WritingTestCasesForOpenJPA-TipsonwritingTestCaseforOpenJPA"></a></p>
+<h1 id="tips-on-writing-testcase-for-openjpa">Tips on writing TestCase for OpenJPA<a class="headerlink" href="#tips-on-writing-testcase-for-openjpa" title="Permanent link">&para;</a></h1>
 <p>You are welcome to contribute new test cases. Following are few suggestions
 and guidelines on how to contribute new test case to OpenJPA repository of
 2000 test cases spread across 400 classes.</p>
-<h2 id="inherit-from-openjpa-testcases">Inherit from OpenJPA TestCases</h2>
+<h2 id="inherit-from-openjpa-testcases">Inherit from OpenJPA TestCases<a class="headerlink" href="#inherit-from-openjpa-testcases" title="Permanent link">&para;</a></h2>
 <p>Unit Tests are <strong>JUnit</strong> Tests. The base JUnit test case implementation
 <em>org.junit.TestCase</em> has been extended to facilitate common
 initialization steps or configuration settings for unit testing OpenJPA. 
@@ -167,7 +178,7 @@ As a test developer, you should inherit
 extended TestCases. In general, <em>SingleEMFTestCase</em> is a good candidate
 to inherit from. If your test needs to analyze or count number of SQL
 statements, <em>SQLListenerTestCase</em> should be your choice.</p>
-<h2 id="use-correct-name-and-package-for-test-case-and-entity-classes">Use correct name and package for test case and entity classes</h2>
+<h2 id="use-correct-name-and-package-for-test-case-and-entity-classes">Use correct name and package for test case and entity classes<a class="headerlink" href="#use-correct-name-and-package-for-test-case-and-entity-classes" title="Permanent link">&para;</a></h2>
 <ul>
 <li>Test case should be in a separate sub-package of
 <em>org.apache.openjpa.persistence.</em> <strong>or</strong> <em>org.apache.openjpa.persistence.jdbc.</em>*</li>
@@ -176,7 +187,7 @@ statements, <em>SQLListenerTestCase</em>
 new entity classes, place them in the same package as that of the new Test
 cases. </li>
 </ul>
-<h2 id="setup-and-teardown">setUp() and tearDown()}</h2>
+<h2 id="setup-and-teardown">setUp() and tearDown()}<a class="headerlink" href="#setup-and-teardown" title="Permanent link">&para;</a></h2>
 <ul>
 <li>OpenJPA TestCases augment the <strong>setUp()</strong> method to accept a list of
 arguments. In this list, you should specify:</li>
@@ -231,23 +242,23 @@ case, you may consider suppressing the s
 </pre></p>
 </li>
 </ul>
-<h2 id="annotate-o-r-mapping">Annotate O-R Mapping</h2>
+<h2 id="annotate-o-r-mapping">Annotate O-R Mapping<a class="headerlink" href="#annotate-o-r-mapping" title="Permanent link">&para;</a></h2>
 <p>Prefer annotation over XML Descriptors for O-R Mapping because that helps
 to collocate relevant information. Unless, of course, the test is specific
 about variations in behavior across annotation and XML Descriptors.</p>
-<h2 id="use-junit-assert-methods">Use JUnit assert*() methods</h2>
+<h2 id="use-junit-assert-methods">Use JUnit assert*() methods<a class="headerlink" href="#use-junit-assert-methods" title="Permanent link">&para;</a></h2>
 <p>For verification, use many assertion methods provided by <em>JUnit</em> e.g.
 <strong>assertEquals()</strong> or <strong>assertTrue()</strong> rather than depending on printing
 trace with <strong>System.out.println()</strong>. If you want to trace generated SQL or
 other runtime information, use appropriate <strong>openjpa.Log</strong> property
 settings.</p>
-<h2 id="create-jira-issue">Create JIRA Issue</h2>
+<h2 id="create-jira-issue">Create JIRA Issue<a class="headerlink" href="#create-jira-issue" title="Permanent link">&para;</a></h2>
 <p>Create a JIRA issue. Refer to the JIRA issue in the comments section of the
 new test case.</p>
-<h2 id="asf-license">ASF License</h2>
+<h2 id="asf-license">ASF License<a class="headerlink" href="#asf-license" title="Permanent link">&para;</a></h2>
 <p>Remember to include ASF License header in the comment section of all the
 new source or resource files.</p>
-<h2 id="attach-the-test-to-jira-issue">Attach the test to JIRA Issue</h2>
+<h2 id="attach-the-test-to-jira-issue">Attach the test to JIRA Issue<a class="headerlink" href="#attach-the-test-to-jira-issue" title="Permanent link">&para;</a></h2>
 <p>Package all the *.java files related to your test case in a JAR file and
 attach it to JIRA issue you have created.
 You must check in the radio button <strong>Grant license to ASF for inclusion in



Mime
View raw message