会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一点零一的n次方
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2018年11月14日
spring+mybatis整合(二)
摘要: 一、applicationContext.xml配置 二、META-INF/spring/mybatis-config.xml 三、注解MyBatisRepository 四、Dao类配置
阅读全文
posted @ 2018-11-14 19:57 一点零一的n次方
阅读(231)
评论(0)
推荐(0)
springMvc整合配置(一)
摘要: 一、web.xml配置 二、mvc-context.xml
阅读全文
posted @ 2018-11-14 15:53 一点零一的n次方
阅读(251)
评论(0)
推荐(0)
二、redis API使用
摘要: 1、通过key获取缓存数/** * * getCache(通过key获取缓存数据) * * @param key 写入redis的key值 * @return String 对应的数据 */@Overridepublic String getCache(String key){ try{ Value
阅读全文
posted @ 2018-11-14 11:37 一点零一的n次方
阅读(472)
评论(0)
推荐(0)
一、spring-data-redis使用哨兵配置一主多从
摘要: 1、JedisPoolConfig配置 <!-- jedis配置 --><bean id="jedisPoolConfig" class="redis.clients.jedis.JedisPoolConfig"> <!-- 最小空闲数:低于minIdle时,将创建新的连接 --> <propert
阅读全文
posted @ 2018-11-14 11:28 一点零一的n次方
阅读(1522)
评论(0)
推荐(0)