diff options
author | jin xin <j00101220@huawei.com> | 2016-10-08 07:15:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@open-o.org> | 2016-10-08 07:15:11 +0000 |
commit | b0664da6ac21c58e23d99c4ab046977c7501df5f (patch) | |
tree | c414b70079f576ed4a7c9afbb2629481c59599af | |
parent | 98b946a9dc5db166cc6d0c74fd074f3a92fc580a (diff) | |
parent | 4b1c59d704488f231a19f1311c8c43d4b5e878c2 (diff) |
Merge "For the Jira bug GSO-6"
-rw-r--r-- | servicegateway/service/src/main/resources/spring/service.xml | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/servicegateway/service/src/main/resources/spring/service.xml b/servicegateway/service/src/main/resources/spring/service.xml index 39e5ea7f..c891a827 100644 --- a/servicegateway/service/src/main/resources/spring/service.xml +++ b/servicegateway/service/src/main/resources/spring/service.xml @@ -41,22 +41,6 @@ <bean class="org.codehaus.jackson.jaxrs.JacksonJsonProvider" /> </jaxrs:providers> </jaxrs:server> - - <bean id="datasource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close"> - <property name="driverClass" value="com.mysql.jdbc.Driver" /> - <property name="jdbcUrl" value="jdbc:mysql://localhost:3306/mybatistest" /> - <property name="user" value="root" /> - <property name="password" value="Test_12345" /> - </bean> - - <bean id="sessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"> - <property name="dataSource" ref="datasource" /> - <property name="mapperLocations" value="classpath*:mybatis/mappers/*.xml" /> - </bean> - - <bean id="session" class="org.mybatis.spring.SqlSessionTemplate"> - <constructor-arg index="0" ref="sessionFactory" /> - </bean> <bean class="org.openo.gso.gui.servicegateway.activator.Activator"></bean> |