continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r442828 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
Date Wed, 13 Sep 2006 04:14:05 GMT
Author: carlos
Date: Tue Sep 12 21:14:03 2006
New Revision: 442828

URL: http://svn.apache.org/viewvc?view=rev&rev=442828
Log:
Switch to ConfigurableJdoFactory

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/META-INF/plexus/application.xml

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/META-INF/plexus/application.xml?view=diff&rev=442828&r1=442827&r2=442828
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
Tue Sep 12 21:14:03 2006
@@ -178,15 +178,18 @@
     <!-- TODO share db configuration between components -->
     <component>
       <role>org.codehaus.plexus.jdo.JdoFactory</role>
-      <implementation>org.codehaus.plexus.jdo.DefaultJdoFactory</implementation>
+      <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation>
       <configuration>
-        <properties>
+        <!-- Database Configuration -->
+        <driverName>${db.driverName}</driverName>
+        <url>${db.url}</url>
+        <userName>${db.userName}</userName>
+        <password>${db.password}</password>
+        <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass>
+
+        <otherProperties>
           <!-- JPOX and JDO configuration -->
           <property>
-            <name>javax.jdo.PersistenceManagerFactoryClass</name>
-            <value>org.jpox.PersistenceManagerFactoryImpl</value>
-          </property>
-          <property>
             <name>org.jpox.autoCreateSchema</name>
             <value>true</value>
           </property>
@@ -198,25 +201,6 @@
             <name>org.jpox.autoStartMechanismMode</name>
             <value>Ignored</value>
           </property>
-
-          <!-- Database Configuration -->
-          <property>
-            <name>javax.jdo.option.ConnectionDriverName</name>
-            <value>${db.driverName}</value>
-          </property>
-          <property>
-            <name>javax.jdo.option.ConnectionURL</name>
-            <value>${db.url}</value>
-          </property>
-          <property>
-            <name>javax.jdo.option.ConnectionUserName</name>
-            <value>${db.userName}</value>
-          </property>
-          <property>
-            <name>javax.jdo.option.ConnectionPassword</name>
-            <value>${db.password}</value>
-          </property>
-
           <property>
             <name>org.jpox.transactionIsolation</name>
             <value>READ_UNCOMMITTED</value>
@@ -225,14 +209,12 @@
             <name>org.jpox.poid.transactionIsolation</name>
             <value>READ_UNCOMMITTED</value>
           </property>
-
           <!-- this is required for MySQL -->
           <property>
             <name>org.jpox.rdbms.stringDefaultLength</name>
             <value>255</value>
           </property>
-
-        </properties>
+        </otherProperties>
       </configuration>
     </component>
 



Mime
View raw message