You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2011/07/11 02:14:54 UTC
svn commit: r1144990 - in /openejb/site/trunk/content:
configuring-logging-in-tests.mdtext
configuring-persistenceunits-in-tests.mdtext
Author: dblevins
Date: Mon Jul 11 00:14:54 2011
New Revision: 1144990
URL: http://svn.apache.org/viewvc?rev=1144990&view=rev
Log:
formatting
Modified:
openejb/site/trunk/content/configuring-logging-in-tests.mdtext
openejb/site/trunk/content/configuring-persistenceunits-in-tests.mdtext
Modified: openejb/site/trunk/content/configuring-logging-in-tests.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/configuring-logging-in-tests.mdtext?rev=1144990&r1=1144989&r2=1144990&view=diff
==============================================================================
--- openejb/site/trunk/content/configuring-logging-in-tests.mdtext (original)
+++ openejb/site/trunk/content/configuring-logging-in-tests.mdtext Mon Jul 11 00:14:54 2011
@@ -42,8 +42,7 @@ like so:
Properties p = new Properties();
- p.put(Context.INITIAL_CONTEXT_FACTORY,
-"org.apache.openejb.client.LocalInitialContextFactory");
+ p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
p.put("log4j.rootLogger", "fatal,C");
p.put("log4j.category.OpenEJB", "warn");
Modified: openejb/site/trunk/content/configuring-persistenceunits-in-tests.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/configuring-persistenceunits-in-tests.mdtext?rev=1144990&r1=1144989&r2=1144990&view=diff
==============================================================================
--- openejb/site/trunk/content/configuring-persistenceunits-in-tests.mdtext (original)
+++ openejb/site/trunk/content/configuring-persistenceunits-in-tests.mdtext Mon Jul 11 00:14:54 2011
@@ -84,24 +84,24 @@ 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.
- Here are the persistence provider classes we understand and the defaults we
+Here are the persistence provider classes we understand and the defaults we
will set for you:
#### Provider org.hibernate.ejb.HibernatePersistence
- When using this provider, the *hibernate.transaction.manager_lookup_class*
+When using this provider, the *hibernate.transaction.manager_lookup_class*
will be automatically set by OpenEJB to
_org.apache.openejb.hibernate.TransactionManagerLookup_. If the property
is already set in the persistence unit it will be overwritten if it starts
with the standard "org.hibernate.transaction." prefix.
- Custom lookup implementations will never be overwritten.
+Custom lookup implementations will never be overwritten.
#### Provider oracle.toplink.essentials.PersistenceProvider
- Or _oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider_.
+Or _oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider_.
- When using this provider, the *toplink.target-server* will be automatically
+When using this provider, the *toplink.target-server* will be automatically
set by OpenEJB to _org.apache.openejb.toplink.JTATransactionController_.
If the property is already set in the persistence unit it will be
overwritten if it starts with the standard "oracle.toplink.transaction."
@@ -110,20 +110,20 @@ prefix.
Custom transaction controller implementations will never be overwritten.
#### Provider org.eclipse.persistence.jpa.PersistenceProvider
-
- Or _org.eclipse.persistence.jpa.osgi.PersistenceProvider_.
-
- When using this provider, the *eclipselink.target-server* will be
+
+Or _org.eclipse.persistence.jpa.osgi.PersistenceProvider_.
+
+When using this provider, the *eclipselink.target-server* will be
automatically set by OpenEJB to
_org.apache.openejb.eclipselink.JTATransactionController_. 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.
- Custom transaction controller implementations will never be overwritten.
+Custom transaction controller implementations will never be overwritten.
#### Provider org.apache.openjpa.persistence.PersistenceProviderImpl
- OpenJPA is capable of discovering the correct method for locating the
+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.