]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
SingleConnectionDataSource is replaced by DriverManagedDataSource
authorrkv <rkv@opencascade.com>
Mon, 26 Nov 2012 08:39:18 +0000 (08:39 +0000)
committerrkv <rkv@opencascade.com>
Mon, 26 Nov 2012 08:39:18 +0000 (08:39 +0000)
Workspace/Siman-Common/src/spring/datasourceContext.xml

index b47e59dde0835b9d84d677f481b82693841215a9..3770d1f8303b9167125d475591d2ca0df6d9128b 100644 (file)
@@ -18,7 +18,7 @@ http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
         <property name="jndiName" value="jdbc/ibatis"/>
         </bean> -->
 
-    <!--    <bean id="simanDatasource"
+    <bean id="simanDatasource"
         class="org.springframework.jdbc.datasource.DriverManagerDataSource">
         <property name="driverClassName"
             value="${connection.driver_class}" />
@@ -26,9 +26,8 @@ http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
         <property name="username" value="${connection.username}" />
         <property name="password" value="${connection.password}" />
     </bean>
-    -->
 
-    <bean id="simanDatasource"
+    <!--    <bean id="simanDatasource"
         class="org.springframework.jdbc.datasource.SingleConnectionDataSource">
         <property name="driverClassName"
             value="${connection.driver_class}" />
@@ -38,6 +37,7 @@ http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
         <property name="suppressClose" value="true" />
         <property name="autoCommit" value="false" />
     </bean>
+    -->
 
     <bean id="p6spySimanDatasource"
         class="com.p6spy.engine.spy.P6DataSource">