10. 说一下 spring 的事务隔离? ..........................................................................................................................................................................................................13
11. 说一下 spring mvc 运行流程? ......................................................................................................................................................................................................13
12. spring mvc 有哪些组件? .................................................................................................................................................................................................................13
13. @RequestMapping 的作用是什么? ................................................................................................................................................................................................13
14. @Autowired 的作用是什么? ..........................................................................................................................................................................................................13
Spring Boot/Spring Cloud .........................................................................................................................................................................................................................13
1).properties 代码 app.user.name=javastack.......................................................................................................................................................................................14
2).yml 代码 app:....................................................................................................................................................................................................................................14
Hibernate ...................................................................................................................................................................................................................................................14
Mybatis ......................................................................................................................................................................................................................................................15
1. mybatis 中 #{}和 ${}的区别是什么?.............................................................................................................................................................................................15
2. mybatis 有几种分页方式? ................................................................................................................................................................................................................15
3. RowBounds 是一次性查询全部结果吗?为什么? .........................................................................................................................................................................15
4. mybatis 逻辑分页和物理分页的区别是什么? ................................................................................................................................................................................15
5. mybatis 是否支持延迟加载?延迟加载的原理是什么? ................................................................................................................................................................15
6. 说一下 mybatis 的一级缓存和二级缓存? .....................................................................................................................................................................................15
7. mybatis 和 hibernate 的区别有哪些?..............................................................................................................................................................................................15
8. mybatis 有哪些执行器(Executor)? ..............................................................................................................................................................................................16
9. mybatis 分页插件的实现原理是什么? ............................................................................................................................................................................................16
10. mybatis 如何编写一个自定义插件? ..............................................................................................................................................................................................16
1、Executor:拦截执行器的方法(log 记录)..........................................................................................................................................................................................16
2、StatementHandler :拦截 Sql 语法构建的处理 ...............................................................................................................................................................................16
3、ParameterHandler :拦截参数的处理 ..............................................................................................................................................................................................16
4、ResultSetHandler :拦截结果集的处理...........................................................................................................................................................................................16
RabbitMQ ..................................................................................................................................................................................................................................................16
1.消息持久化 ............................................................................................................................................................................................................................................17
2.ACK 确认机制.......................................................................................................................................................................................................................................17
3.设置集群镜像模式 ................................................................................................................................................................................................................................17
4.消息补偿机制 ........................................................................................................................................................................................................................................17
Kafka .........................................................................................................................................................................................................................................................18
Zookeeper ..................................................................................................................................................................................................................................................18
MySql ........................................................................................................................................................................................................................................................18
(1)简单归纳: .....................................................................................................................................................................................................................................18
(2)解释: .............................................................................................................................................................................................................................................18
1.Atomicity 原子性..................................................................................................................................................................................................................................18
2.Consistency 一致性...............................................................................................................................................................................................................................18
3.Isolation 隔离性 ....................................................................................................................................................................................................................................18
4.Durability 耐久性..................................................................................................................................................................................................................................18
5. char 和 varchar 的区别是什么? ......................................................................................................................................................................................................18
6. float 和 double 的区别是什么?.......................................................................................................................................................................................................19
7. mysql 的内连接、左连接、右连接有什么区别? ...........................................................................................................................................................................19
8. mysql 索引是怎么实现的? ...............................................................................................................................................................................................................19