SSM
远点的断点
这个作者很懒,什么都没留下…
展开
-
SSM的相关xml及注解汇总
【6】注解汇总 【Spring-IOC相关】 注解 xml 说明 @Component父注解 @Controller:用于响应层的注解 @Service:用于业务层的注解 @Repository:一般用于持久层的注解 < bean id="" class=""> 声明bean交于springIOC管理 @Scope scope=“singleton/prototype” 生命周期 @PostConstruct init-method 初始化方原创 2020-11-25 10:29:14 · 203 阅读 · 0 评论 -
使用SSM的xml和注解两种方式完成一个完整的增删改查案例
ssm整合整理 1.ssm整合项目工程结构 整合的思路 2.day08_ssm_project项目(使用xml-注解) 各文件如下: customer.sql -- ---------------------------- -- Table structure for customer -- ---------------------------- CREATE TABLE `customer` ( `cust_id` int(32) NOT NULL AUTO原创 2020-11-08 17:39:35 · 385 阅读 · 0 评论