You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by he...@apache.org on 2012/11/22 22:54:51 UTC

svn commit: r1412683 - /openjpa/site/trunk/content/beginners-performance-guide.mdtext

Author: helenxu
Date: Thu Nov 22 21:54:50 2012
New Revision: 1412683

URL: http://svn.apache.org/viewvc?rev=1412683&view=rev
Log:
CMS migration

Modified:
    openjpa/site/trunk/content/beginners-performance-guide.mdtext

Modified: openjpa/site/trunk/content/beginners-performance-guide.mdtext
URL: http://svn.apache.org/viewvc/openjpa/site/trunk/content/beginners-performance-guide.mdtext?rev=1412683&r1=1412682&r2=1412683&view=diff
==============================================================================
--- openjpa/site/trunk/content/beginners-performance-guide.mdtext (original)
+++ openjpa/site/trunk/content/beginners-performance-guide.mdtext Thu Nov 22 21:54:50 2012
@@ -1,5 +1,5 @@
 Title: Beginners Performance Guide
-{excerpt:hidden=true}Intro to tuning OpenJPA{excerpt}
+<a name="IntroToTuningOpenJPA"></a>
 
 
 <a name="BeginnersPerformanceGuide-OpenJPABeginnersPerformanceGuide"></a>
@@ -17,9 +17,7 @@ OpenJPA uses byte-code weaving technolog
 class objects at build time or dynamically at run time. This allows us to
 efficiently handle these objects. 
 
-Follow these instructions on how to properly enhance your Entities.
-*[Entity Enhancement](openjpa:entity-enhancement.html)
-.
+Follow the [Entity Enhancement](openjpa:entity-enhancement.html) instructions on how to properly enhance your Entities.
 
 OpenJPA also has a feature that will auto-generate new subclasses or proxy
 objects that front the user's Entity objects at run time, but *this feature
@@ -28,8 +26,7 @@ and it doesn't perform nearly as well. I
 message you are using the non-recommended subclassing approach to
 enhancement.
 
-bq. 3328  pu_name INFO   \[main\](main\.html)
- openjpa.Enhance - Creating subclass for "\[ class
+> 3328  pu_name INFO   \[main\]  openjpa.Enhance - Creating subclass for "\[ class
 org.apache.openjpa.entity.E1 , class org.apache.openjpa.entity.E2 \]". This
 means that your application will be less efficient and will consume more
 memory than it would if you ran the OpenJPA enhancer. Additionally, lazy
@@ -52,7 +49,7 @@ use this enhancement approach.
 As of the 2.1.0 release OpenJPA bundles [Apache Commons DBCP](http://commons.apache.org/dbcp/)
  as part of the binary download. When running in JSE environments a default
 connection pool will be plugged in with the provided database configuration
-properties (Once [OPENJPA-1764|https://issues.apache.org/jira/browse/OPENJPA-1764]
+properties (Once [OPENJPA-1764](https://issues.apache.org/jira/browse/OPENJPA-1764)
  is completed) . Most JEE container environments should provide some level
 of connection pooling. 
 
@@ -60,10 +57,8 @@ In releases prior to 2.1.0 add DBCP to y
 example to figure out how to configure pooling.
 
 
-    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
-        <persistence-unit name="example-derby"
-transaction-type="RESOURCE_LOCAL">
+    <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
+        <persistence-unit name="example-derby" transaction-type="RESOURCE_LOCAL">
     	<properties>
     	    <property name="openjpa.ConnectionProperties" 
     		value="DriverClassName=org.apache.derby.jdbc.ClientDriver,