portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r379708 - in /portals/jetspeed-2/trunk/etc/db-ojb: OJB.properties test-repository-datasource-spring.xml
Date Wed, 22 Feb 2006 06:25:14 GMT
Author: taylor
Date: Tue Feb 21 22:25:10 2006
New Revision: 379708

URL: http://svn.apache.org/viewcvs?rev=379708&view=rev
Log:
http://issues.apache.org/jira/browse/JS2-495
using TransactionAwareDataSourceConnectionFactory as suggested in Spring docs

Removed:
    portals/jetspeed-2/trunk/etc/db-ojb/test-repository-datasource-spring.xml
Modified:
    portals/jetspeed-2/trunk/etc/db-ojb/OJB.properties

Modified: portals/jetspeed-2/trunk/etc/db-ojb/OJB.properties
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/etc/db-ojb/OJB.properties?rev=379708&r1=379707&r2=379708&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/etc/db-ojb/OJB.properties (original)
+++ portals/jetspeed-2/trunk/etc/db-ojb/OJB.properties Tue Feb 21 22:25:10 2006
@@ -138,7 +138,9 @@
 
 #ConnectionFactoryClass=org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl
 #ConnectionFactoryClass=org.apache.ojb.broker.accesslayer.ConnectionFactoryNotPooledImpl
-ConnectionFactoryClass=org.apache.ojb.broker.accesslayer.ConnectionFactoryManagedImpl
+### ConnectionFactoryClass=org.apache.ojb.broker.accesslayer.ConnectionFactoryManagedImpl
+### ConnectionFactoryClass=org.springframework.orm.ojb.support.LocalDataSourceConnectionFactory
+ConnectionFactoryClass=org.springframework.orm.ojb.support.TransactionAwareDataSourceConnectionFactory
 
 #ConnectionFactoryClass=org.springframework.orm.ojb.support.LocalDataSourceConnectionFactory
 #ConnectionFactoryClass=org.apache.ojb.broker.accesslayer.ConnectionFactoryDBCPImpl
@@ -156,6 +158,7 @@
 
 #ConnectionManagerClass=org.apache.ojb.broker.accesslayer.ConnectionManagerImpl
 ConnectionManagerClass=org.apache.jetspeed.components.rdbms.ojb.ConnectionManagerImpl
+
 #
 #
 #----------------------------------------------------------------------------------------



---------------------------------------------------------------------
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