portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r379710 - /portals/jetspeed-2/trunk/etc/import/assembly/repository-datasource-spring.xml
Date Wed, 22 Feb 2006 06:27:07 GMT
Author: taylor
Date: Tue Feb 21 22:27:03 2006
New Revision: 379710

URL: http://svn.apache.org/viewcvs?rev=379710&view=rev
Log:
http://issues.apache.org/jira/browse/JS2-495
configuring importer to use transactions

Modified:
    portals/jetspeed-2/trunk/etc/import/assembly/repository-datasource-spring.xml

Modified: portals/jetspeed-2/trunk/etc/import/assembly/repository-datasource-spring.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/etc/import/assembly/repository-datasource-spring.xml?rev=379710&r1=379709&r2=379710&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/etc/import/assembly/repository-datasource-spring.xml (original)
+++ portals/jetspeed-2/trunk/etc/import/assembly/repository-datasource-spring.xml Tue Feb
21 22:27:03 2006
@@ -3,7 +3,8 @@
 <beans>		
 
   <!-- datasource bean -->
-  <bean id="JetspeedDS" class="org.apache.jetspeed.components.rdbms.ojb.ConnectionRepositoryEntry">
+<!--  <bean id="JetspeedDS" class="org.apache.jetspeed.components.rdbms.ojb.ConnectionRepositoryEntry">
-->
+  <bean id="JetspeedDS" class="org.apache.commons.dbcp.BasicDataSource">     
     <property name="driverClassName">
       <value>${org.apache.jetspeed.database.driver}</value>
     </property>
@@ -17,6 +18,8 @@
       <value>${org.apache.jetspeed.database.password}</value>
     </property>
   </bean>     
+    
+  <bean id="ojbConfigurer" class="org.springframework.orm.ojb.support.LocalOjbConfigurer"/>

      
   <!-- properties configurer used to pick up system properties -->
   <bean id="propertiesConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message