随笔分类 - spring
spring相关知识点
摘要:1 Jedis Jedis是Redis官方推出的一款面向java的客户端,提供了很多接口供java语言调用,可以在Redis官网下载,当然还有一些开源爱好者提供的客户端,如Jredis SRP等,推荐使用JRedis. SpringDataRedis SpringDataRedis SpringDa
阅读全文
摘要:MyBatis/Ibatis中#和$的区别 1. #将传入的数据都当成一个字符串,会对自动传入的数据加一个双引号。如:order by #user_id#,如果传入的值是111,那么解析成sql时的值为order by "111", 如果传入的值是id,则解析成的sql为order by "id".
阅读全文
摘要:1 spring-smtp-mail.xml 2 mailConfig 类 3 test 类
阅读全文
摘要:spring整合quartz: 网上也有很多教程,好多都是基于配置方式,我们使用当然怎么简单就怎么用,所以这里介绍基于注解方式整合quartz。前提:你需要有一个能运行的web项目。 1、引依赖: <dependency> <groupId>org.quartz-scheduler</groupId
阅读全文
摘要:转载 https://liuyanzhao.com/6300.html
阅读全文
摘要:转载 https://www.cnblogs.com/ysocean/p/7409779.html#undefined
阅读全文
摘要:转载 https://www.jianshu.com/p/041bec8ae6d3
阅读全文
摘要:https://blog.csdn.net/qq598535550/article/details/51703190 https://github.com/wosyingjun/beauty_ssm
阅读全文
摘要:转载。https://blog.csdn.net/chizhuyuyu/article/details/82180404 https://www.jianshu.com/p/689bdd11bfcc. https://github.com/yvettee36/SpringMVC_mybatis
阅读全文
摘要:常用注解: 1、自动注入:@Resources,@Autowired 2、Bean定义:@Component、@Repository、@Service 和 @Constroller @Component是个泛化概念,可以用在任何层次。如果是web开发,尽量用@Repository、@Service
阅读全文