![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
炸鸡叔老白
贵阳热爱编程的小菜鸟一枚。
展开
-
Spring Bean的生命周期
Springbean的生命周期为bean对象从创建到销毁的过程,他有两种情况一,不添加后置处理器的情况1,构造器方法2,set方法3,初始化方法4,实例化bean5,销毁方法代码示例Student类package awz;/** * bean的生命周期 * @version 1.0 * @Author:杨杰 * @Date:2022/4/6 8:53 */public class Student { private String name; publ原创 2022-04-06 11:21:26 · 439 阅读 · 0 评论 -
Parameter value [%2021%] did not match expected type [java.util.Date (n/a)]; nested exception is jav
jpa实现时间类型查询2021-10-10 13:59:05.054 ERROR 17632 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.s原创 2021-10-10 14:28:18 · 3874 阅读 · 0 评论 -
Sping学习(一)
一, Spring框架概述Spring是轻量级的开源的JavaEE框架Spring可以解决企业应用开发的复杂性Spring有两个核心部分 :IOC和AopIOC:控制反转,把创建过程交给Spring管理Aop:面向切面,不修改源代码进行功能增强Spring特点方便解耦,简化开发。Aop编程支持。方便程序测试,方便雨其框架进行整合。方便进行事物操作降低API开发难度...原创 2021-07-23 21:41:28 · 50 阅读 · 0 评论