上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 71 下一页
add by zhj: SqlSession是MyBatis中的非常重要的一个接口,简单的说,它是对java.sql.Connection的进一步封装(使用组合设计模式),提供给用户更强易用的CRUD方法,如下,也提供一获取Connection的方法。 1 public interface SqlS Read More
posted @ 2021-05-18 14:09 奋斗终生 Views(364) Comments(0) Diggs(0) Edit
原文:https://www.cnblogs.com/jackion5/p/14193025.html 作者:Lucky帅小武 Hikari连接池目前公认是性能最高的数据库连接池,同时也是SpringBoot2.0以后默认使用的数据库连接池。 一、Hikari的使用 1.1、Hikari相关配置 由 Read More
posted @ 2021-05-18 11:10 奋斗终生 Views(1114) Comments(0) Diggs(0) Edit
原文:https://rieckpil.de/testing-spring-boot-applications-with-rest-assured/ REST Assured is a Java DSL (Domain Specific Langauge) that aims to simplify Read More
posted @ 2021-05-12 03:05 奋斗终生 Views(254) Comments(0) Diggs(0) Edit
原文: http://ypk1226.com/2018/11/17/spring-boot/spring-boot-test-1/ http://ypk1226.com/2018/11/20/spring-boot/spring-boot-test-2/ 一、Spring Boot Test介绍 S Read More
posted @ 2021-05-12 01:33 奋斗终生 Views(1294) Comments(0) Diggs(1) Edit
原文:https://www.cnblogs.com/fengzheng/p/9070268.html 并发的三个特性 首先说我们如果要使用 volatile 了,那肯定是在多线程并发的环境下。我们常说的并发场景下有三个重要特性:原子性、可见性、有序性。只有在满足了这三个特性,才能保证并发程序正确执 Read More
posted @ 2021-04-19 14:04 奋斗终生 Views(1150) Comments(0) Diggs(1) Edit
原文:https://zhuanlan.zhihu.com/p/101974130 作者:阿茂 什么是分布式事务 说到事务,我们不得不又说到传统关系型数据库的事务,一个标准的事务应该具备四个特性:原子性、一致性、隔离性、持久性,就是我们经常说到的ACID。我们来看下维基百科上是怎么定义的: 原子性( Read More
posted @ 2021-04-09 16:31 奋斗终生 Views(569) Comments(0) Diggs(0) Edit
原文:https://blog.csdn.net/weixin_43234960/article/details/101368542 IDEA修改代码后不用重新启动即可刷新 1.File——Settings——Build,Execution,Deplyment——Compiler,选中打勾 “Bui Read More
posted @ 2021-03-25 18:00 奋斗终生 Views(1347) Comments(0) Diggs(0) Edit
原文:https://morty.blog.csdn.net/article/details/83820511 作者:圣斗士Morty 引言不论在工作中,亦或是求职面试,Spring Boot已经成为我们必知必会的技能项。除了某些老旧的政府项目或金融项目持有观望态度外,如今的各行各业都在飞速的拥抱这 Read More
posted @ 2021-03-25 10:15 奋斗终生 Views(130) Comments(0) Diggs(0) Edit
add by zhj: 注解在Java内部其实就是一个接口,对于每个注解都会生成一个动态代理类,准确的说只有通过反射获取到注解时,Java才会生成这个动态代理类,对于每个使用的地方,会使用化该动态代理类。 文中其实不仅提到了注解的实现方式,还提到了如何将动态代理类class输出到.class文件,利 Read More
posted @ 2021-03-20 14:05 奋斗终生 Views(1099) Comments(0) Diggs(0) Edit
add by zhj: @Import的作用是创建Spring bean,具体有四种用法 1. 导入普通类,即将普通类变为Spring bean 2. 导入@Configuration,即将该注解生效,具体来说就是:将其注解的类成为Spring bean,该类中的@Bean注解的方法也变为Sprin Read More
posted @ 2021-02-26 14:22 奋斗终生 Views(1534) Comments(0) Diggs(0) Edit
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 71 下一页