添加打印mybatis语句的配置

This commit is contained in:
RenKaiGe-Office
2018-07-19 14:31:16 +08:00
parent 8125b002f0
commit e53d58d238
2 changed files with 3 additions and 2 deletions

View File

@@ -95,7 +95,8 @@
<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
<property name="dataSource" ref="dynamicDataSource"></property>
<property name="configLocation" value="classpath:mybatis-config.xml"></property>
<!--<property name="mapperLocations" value="classpath*:dbmap/*Mapper.xml"></property> -->
<!-- 打印查询语句 -->
<!-- <property name="mapperLocations" value="classpath:com/nis/web/dao/*Dao.xml"></property> -->
</bean>
<!--创建数据映射器,数据映射器必须为接口 -->

View File

@@ -64,7 +64,7 @@ bonecp.hive.statementsCacheSize=100
#####################################################################################################################################
redis.host=10.0.6.249
#redis.host=192.168.10.205
redis.port=6379
redis.port=6381
redis.pass=
redis.maxIdle=5
redis.maxTotal=250