![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
Rm_and_Rf
这个作者很懒,什么都没留下…
展开
-
JpaRepository查询功能
1.JpaRepository支持接口规范方法名查询。意思是只要在接口中定义的查询方法符合规范,就不用写方法是如何实现的。目前常用的关键词如下:KeywordSampleJPQL snippetNotNullfindByAgeNotNull… where x.age not nullLikefindByNameLike… where x.name lik...原创 2019-11-07 14:05:56 · 650 阅读 · 0 评论 -
springboot修改默认8080端口
springboot自带的Tomcat端口是8080,有时候项目多了就会引起端口占用的问题,所以我们需要修改其中的端口或者杀掉8080端口1.修改springboot端口方法我们只需要在application.properties中加这样的一句话就可以了:server.port=8004。2.杀掉8080进程netstat -ano | findstr 8080//寻找8080端口...原创 2019-08-01 15:50:03 · 2848 阅读 · 0 评论