会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
CherryKing
博客园
首页
新随笔
联系
管理
订阅
2020年1月15日
将博客搬至CSDN
摘要: 因个人业务需求,打算同时对csdn博客内容及博客园合并,现在将本人博客园的博客搬家至CSDN,希望我的博客能帮助到大家,谢谢,祝大家新年快乐,我的CSDN博客搬家地址为:https://blog.csdn.net/KingCherry
阅读全文
posted @ 2020-01-15 14:06 CherryKing
阅读(82)
评论(0)
推荐(0)
2017年9月3日
spring mvc 的jpa JpaRepository数据层 访问方式汇总
摘要: spring mvc 的jpa JpaRepository数据层 访问方式汇总 博客分类: spring jpa springjpaJpaRepository spring mvc 的jpa JpaRepository数据层 访问方式汇总 spring jpa springjpaJpaReposit
阅读全文
posted @ 2017-09-03 00:13 CherryKing
阅读(726)
评论(0)
推荐(0)
2017年8月28日
springboot关于数据库的操作
摘要: ddl-auto: create 每次都会创建表 如果表存在就会先drop再create ddl-auto: update 表不存在就create 表存在就update ddl-auto: validate 验证表结构 ddl-auto: create-drop 程序结束后会把表drop掉
阅读全文
posted @ 2017-08-28 21:33 CherryKing
阅读(278)
评论(0)
推荐(0)
2017年8月27日
springboot关于controller的用法注解补充
摘要: @RequestMapping(value="/hello",method=RequestMethod.Post) ==@PostMapping(value="/hello") @RequestMapping(value="/hello",method=RequestMethod.Get) ==@G
阅读全文
posted @ 2017-08-27 16:52 CherryKing
阅读(521)
评论(0)
推荐(0)
thymeleaf
摘要: 在使用springboot 可以添加spring-boot-starter-thymeleaf 这个插件来直接通过controller层 return “index”;界面运行,但不推荐使用
阅读全文
posted @ 2017-08-27 16:45 CherryKing
阅读(129)
评论(0)
推荐(0)
springboot注解的用法
摘要: @RestController == @RequestBoddy+@Controller @PathVariable 获取url中的数据 @RequestParam 获取请求参数的值 @GetMapping 组合注解
阅读全文
posted @ 2017-08-27 16:43 CherryKing
阅读(175)
评论(0)
推荐(0)
2017年8月5日
视图解析器的作用 -----bean
摘要: 视图解析器是写在 springmvc.xml 的配置文件中,在xml中如果没有显式配置该配置文件的名称,那么你的spirngmvc配置文件名称就是<serlvet-name>-servlet.xml, 并且文件自动存放在WEB-INF下;如果显示配置了,如在xml中<servlet>配置了<para
阅读全文
posted @ 2017-08-05 13:08 CherryKing
阅读(3712)
评论(0)
推荐(0)
ssm PageHelper 插件分页
摘要: 先增加maven依赖: [html] view plain copy print? <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>4.0.0</ve
阅读全文
posted @ 2017-08-05 11:20 CherryKing
阅读(280)
评论(0)
推荐(0)
公告