diff options
author | j00302280 <j00101220@huawei.com> | 2016-10-08 15:13:31 +0800 |
---|---|---|
committer | j00302280 <j00101220@huawei.com> | 2016-10-08 15:13:31 +0800 |
commit | 4b1c59d704488f231a19f1311c8c43d4b5e878c2 (patch) | |
tree | 9e30dc9712a8d798d56ee55139031159b87ef7c5 | |
parent | 8e96d0d89723ed2e65af7da52e78eb09e485fcdf (diff) |
For the Jira bug GSO-6
Change-Id: I8eaa1322f5cf157f9b247a573d5345d4e003bd00
Signed-off-by: j00302280 <j00101220@huawei.com>
-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> |