添加打印mybatis语句的配置
This commit is contained in:
@@ -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>
|
||||
|
||||
<!--创建数据映射器,数据映射器必须为接口 -->
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user