You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by bu...@apache.org on 2011/07/11 02:15:04 UTC
svn commit: r792506 - in /websites/staging/openejb/trunk/content:
configuring-logging-in-tests.html configuring-persistenceunits-in-tests.html
Author: buildbot
Date: Mon Jul 11 00:15:04 2011
New Revision: 792506
Log:
Staging update by buildbot
Modified:
websites/staging/openejb/trunk/content/configuring-logging-in-tests.html
websites/staging/openejb/trunk/content/configuring-persistenceunits-in-tests.html
Modified: websites/staging/openejb/trunk/content/configuring-logging-in-tests.html
==============================================================================
--- websites/staging/openejb/trunk/content/configuring-logging-in-tests.html (original)
+++ websites/staging/openejb/trunk/content/configuring-logging-in-tests.html Mon Jul 11 00:15:04 2011
@@ -198,12 +198,9 @@ replace it completely if all you want to
like so:</p>
<pre><code>Properties p = new Properties();
-p.put(Context.INITIAL_CONTEXT_FACTORY,
-</code></pre>
-
-<p>"org.apache.openejb.client.LocalInitialContextFactory");</p>
+p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
-<pre><code>p.put("log4j.rootLogger", "fatal,C");
+p.put("log4j.rootLogger", "fatal,C");
p.put("log4j.category.OpenEJB", "warn");
p.put("log4j.category.OpenEJB.options", "info");
p.put("log4j.category.OpenEJB.server", "info");
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 Mon Jul 11 00:15:04 2011
@@ -242,32 +242,25 @@ TransactionManager and nothing works if
OpenEJB specific class. To make the lives of users easier, OpenEJB will
take the liberty of setting it for you.</p>
-<pre><code>Here are the persistence provider classes we understand and the defaults we
-</code></pre>
-
-<p>will set for you:</p>
+<p>Here are the persistence provider classes we understand and the defaults we
+will set for you:</p>
<h4>Provider org.hibernate.ejb.HibernatePersistence</h4>
-<pre><code>When using this provider, the *hibernate.transaction.manager_lookup_class*
-</code></pre>
-
-<p>will be automatically set by OpenEJB to
+<p>When using this provider, the <em>hibernate.transaction.manager_lookup_class</em>
+will be automatically set by OpenEJB to
<em>org.apache.openejb.hibernate.TransactionManagerLookup</em>. If the property
is already set in the persistence unit it will be overwritten if it starts
with the standard "org.hibernate.transaction." prefix. </p>
-<pre><code>Custom lookup implementations will never be overwritten.
-</code></pre>
+<p>Custom lookup implementations will never be overwritten.</p>
<h4>Provider oracle.toplink.essentials.PersistenceProvider</h4>
-<pre><code>Or _oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider_.
-
-When using this provider, the *toplink.target-server* will be automatically
-</code></pre>
+<p>Or <em>oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider</em>.</p>
-<p>set by OpenEJB to <em>org.apache.openejb.toplink.JTATransactionController</em>.
+<p>When using this provider, the <em>toplink.target-server</em> will be automatically
+set by OpenEJB to <em>org.apache.openejb.toplink.JTATransactionController</em>.
If the property is already set in the persistence unit it will be
overwritten if it starts with the standard "oracle.toplink.transaction."
prefix. </p>
@@ -277,25 +270,20 @@ prefix. </p>
<h4>Provider org.eclipse.persistence.jpa.PersistenceProvider</h4>
-<pre><code>Or _org.eclipse.persistence.jpa.osgi.PersistenceProvider_.
+<p>Or <em>org.eclipse.persistence.jpa.osgi.PersistenceProvider</em>.</p>
-When using this provider, the *eclipselink.target-server* will be
-</code></pre>
-
-<p>automatically set by OpenEJB to
+<p>When using this provider, the <em>eclipselink.target-server</em> will be
+automatically set by OpenEJB to
<em>org.apache.openejb.eclipselink.JTATransactionController</em>. If the property
is already set in the persistence unit it will be overwritten if it starts
with the standard "org.eclipse.persistence.transaction." prefix. </p>
-<pre><code>Custom transaction controller implementations will never be overwritten.
-</code></pre>
+<p>Custom transaction controller implementations will never be overwritten.</p>
<h4>Provider org.apache.openjpa.persistence.PersistenceProviderImpl</h4>
-<pre><code>OpenJPA is capable of discovering the correct method for locating the
-</code></pre>
-
-<p>TransactionManager without the need for users to specify the specific
+<p>OpenJPA is capable of discovering the correct method for locating the
+TransactionManager without the need for users to specify the specific
strategy. Therefore no specific "magic" is required.</p>
</DIV>