Song's Ravine, You don't travel to see different things, you travel to see things differently.

  • Blog
  • About
  • RSS
  • Search
  • 装修 (2)
  • NAS (2)
  • Tool (1)
  • 分布式 (2)
  • Spring (2)
  • Web (1)
  • Thinking (1)
  • Algorithm (1)
  • 区块链 (1)
  • Website (1)
  • SpringMVC (1)
  • SpringBoot (1)
  • App (5)
  • SelfMade (2)
  • Flink (1)
  • Netty (1)
  • Problem (1)
  • Kafka (4)
  • Kubernetes (1)
  • Java (1)
  • Windows (2)
  • Linux (2)

Spring @TransactionalEventListener事件中的事务

Dec 28, 2021

介绍Spring中@TransactionalEventListener的使用场景,和针对事务一致性的解决方案

Spring REST 接口校验Validation

Apr 12, 2021

之前一直做部署和数据库的工作,很少直接写接口。新工作天天写接口,虽然之前也粗看过接口验证@Valid和@Validated的介绍,但是实践起来还是有几个迷惑的地方: 1. @Validated和@Valid什么时候可以通用? 2. @Validated和@Valid有什么区别 3. 为什么有的时候验证会失效? 然后抽空看了一些文章,自己测试了一些,看看源码的注释,作了以下总结。


© Song 2015 - 2023