会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
让学习成为一种习惯
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
24
25
···
36
下一页
2018年12月23日
springboot shiro没有注解解决方案
摘要: 颓废的悠然 颓废的悠然 颓废的悠然 springboot shiro开启注释 shiroconfiguration中增加 1 2 3 4 5 6 7 @Bean public AuthorizationAttributeSourceAdvisor authorizationAttributeSour
阅读全文
posted @ 2018-12-23 12:03 雷神约
阅读(1109)
评论(0)
推荐(0)
2018年12月21日
Thymeleaf 模板引擎用法
摘要: 学习、改良、极致 博客园 首页 新随笔 联系 管理 订阅 随笔- 31 文章- 0 评论- 50 Thymeleaf 常用属性 文章主目录 th:action th:each th:field th:href th:id th:if th:include th:fragment th:object
阅读全文
posted @ 2018-12-21 16:12 雷神约
阅读(1180)
评论(0)
推荐(0)
mybatis批量插入
摘要: 第四章 mybatis批量insert 批量插入sql语句: INSERT INTO table (field1,field2,field3) VALUES ('a',"b","c"), ('a',"b","c"),('a',"b","c") mybatis通过foreach循环拼装了如上的sql语句。 一、xml 复制代码 1 2 3 5 6 ...
阅读全文
posted @ 2018-12-21 09:18 雷神约
阅读(174)
评论(0)
推荐(0)
2018年12月20日
springboot 读写excel
摘要: 添加两个坐标: org.apache.poi poi 3.17 org.apache.poi poi-ooxml RELEASE dom4j dom4j 1.6.1 response.setContentType("application/excel"); List list = userService.selecetA...
阅读全文
posted @ 2018-12-20 17:41 雷神约
阅读(2331)
评论(0)
推荐(0)
2018年12月19日
spring data jap操作
摘要: package com.example.demo; import com.example.entity.UserJ; import com.example.respository.UserJRespository; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.f...
阅读全文
posted @ 2018-12-19 09:22 雷神约
阅读(711)
评论(0)
推荐(0)
2018年12月18日
springboot集成schedule(深度理解)
摘要: springboot集成schedule(深度理解) 背景 在项目开发过程中,我们经常需要执行具有周期性的任务。通过定时任务可以很好的帮助我们实现。 我们拿常用的几种定时任务框架做一个比较: 从以上表格可以看出,Spring Schedule框架功能完善,简单易用。对于中小型项目需求,Spring Schedule是完全可以胜任的。 1、springboot集成sched...
阅读全文
posted @ 2018-12-18 10:16 雷神约
阅读(379)
评论(0)
推荐(0)
springboot 配置二级缓存
摘要: springBoot中配置mybatis的二级缓存 2018年01月22日 11:45:37 Ting.Xue(Martin.Xue) 阅读数:5604更多 个人分类: SSM的Spring框架Mybatis springBoot中配置mybatis的二级缓存 2018年01月22日 11:45:3
阅读全文
posted @ 2018-12-18 09:09 雷神约
阅读(3380)
评论(0)
推荐(0)
springboot jpa操作redis
摘要: SpringBoot使用Redis缓存 (1)pom.xml引入jar包,如下: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifact
阅读全文
posted @ 2018-12-18 08:58 雷神约
阅读(3551)
评论(0)
推荐(0)
2018年12月17日
fastjson处理json
摘要: 返回主页 你是风儿 博客园首页新随笔联系订阅管理 随笔 - 29 文章 - 0 评论 - 23 FastJson对于JSON格式字符串、JSON对象及JavaBean之间的相互转换 fastJson对于json格式字符串的解析主要用到了一下三个类: JSON:fastJson的解析器,用于JSON格式字符串与JSON对象及javaBean之间的转换。 JSONObject:fastJso...
阅读全文
posted @ 2018-12-17 18:11 雷神约
阅读(335)
评论(0)
推荐(0)
springboot异常处理
摘要: package com.example.exception; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.HandlerExceptionResolver; import org.springframework.web.servlet.Mo...
阅读全文
posted @ 2018-12-17 16:56 雷神约
阅读(199)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
23
24
25
···
36
下一页
公告