![](https://img-blog.csdnimg.cn/20210814230729154.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
学习笔记-SSM
文章平均质量分 54
Spring-SpringMVC-MyBatis学习笔记
超会写BUG的小凌
这个作者很懒,什么都没留下…
展开
-
MyBatis Day01
项目结构:mybatis.entites.Employeepackage com.atguigu.mybatis.entities;public class Employee { private Integer id; private String lastName; private St...原创 2021-09-14 21:28:59 · 791 阅读 · 0 评论 -
SpringMVC Day04
代码部分项目结构:springmvc.controller.EmployeeController@Controllerpublic class EmployeeController { @Autowired private EmployeeService employeeService; public EmployeeController() { System.out.println("EmployeeController对象...原创 2021-08-28 16:49:53 · 797 阅读 · 0 评论 -
SpringMVC Day03
代码部分项目结构:springmvc.entities.Employeespringmvc.entities.Departmentpublic class Employee { private Integer id; private String lastName; private String email; private Department dept; @Override ...原创 2021-08-28 14:55:34 · 826 阅读 · 0 评论 -
SpringMVC Day02
代码部分项目结构:springmvc.entities.Employeespringmvc.entities.Departmentpublic class Employee { private Integer id; private String lastName; private String email; private Department dept; @Override pub...原创 2021-08-25 11:45:31 · 812 阅读 · 0 评论 -
SpringMVC Day01
REST代码部分项目结构:springmvc.helloworld.HelloWorld//@RequestMapping("/hello") //类中所有的方法地址都要在前面加上此地址@Controller //标识当前类是一个控制器/处理器public class HelloWorld { //创建一个处理${pageContext.request.contextPath}/hel...原创 2021-08-22 14:54:06 · 792 阅读 · 0 评论 -
Spring Day04
四 事务事务的传播行为:原创 2021-08-21 23:40:26 · 804 阅读 · 0 评论 -
Spring Day03
三 AOP设置切面优先级代码部分项目结构:基于注解的AOP:spring.aop.annotation.LoggingAspect//可以通过@order注解的value属性设置切面的优先级,默认值是int的最大值,值越小优先级越高@Order(5) //多个切面时,相同通知的执行优先级设置,数字越大,相应切面的通知优先级越高@Component...原创 2021-08-18 22:04:46 · 799 阅读 · 0 评论 -
Spring Day02
一 接Spring Day01(一)Book类:public class Book { private Integer id; private String name; private String author; private Double price; private Integer amount; public Book(Integer id, String name, String author, Integer amount) {.原创 2021-08-16 22:47:38 · 788 阅读 · 0 评论 -
Spring Day01
applicationContext的主要实现类给bean对象赋值引入p名称空间约束引入外部bean配置内部bean原创 2021-08-15 21:37:52 · 775 阅读 · 0 评论