摘要:
1.数据验证 日常项目开发中,对于前端提交的表单,后台接口接收到表单数据后,为了程序的严谨性,通常后端会加入 业务参数的合法校验操作来避免程序的非技术性bug,这里对于客户端提交的数据校验 SpringBoot通过spring-boot-starter-validation模块包含了数据校验的工作。 阅读全文
posted @ 2022-10-30 17:13
lwx_R
阅读(132)
评论(0)
推荐(0)
摘要:
1.事务支持 在使用]dbc作为数据库访问技术时,Spring Boot框架定义了基于jdbc的PlatformTransactionManager接口 的实现DataSourceTransactionManager,并在Spring Boot应用启动时自动进行配置。 这里Spring Boot集成 阅读全文
posted @ 2022-10-30 11:54
lwx_R
阅读(48)
评论(0)
推荐(0)
摘要:
1.什么是定时调度 在SpringBoot中有Java自带的java.util.Timer类 SpringBoot自带的Scheduled来实现,Scheduled 在Spring3.X引入,默认SpringBoot自带该功能使用起来也很简单,在启动类级别添加 @EnableScheduling注解 阅读全文
posted @ 2022-10-30 11:11
lwx_R
阅读(40)
评论(0)
推荐(0)

浙公网安备 33010602011771号