• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TAKETODAY / today-infrastructure / 25103382338
88%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2026 10:36AM UTC
Jobs 1
Files 5010
Run time 8min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Apr 2026 10:19AM UTC coverage: 83.89% (-0.009%) from 83.899%
25103382338

push

github

TAKETODAY
:sparkles: 添加乐观锁支持

- 引入 VersionIncrementStrategy 接口用于计算版本值
- 在 DefaultEntityManager 中实现版本字段自动递增逻辑
- 添加 OptimisticLockingFailureException 用于并发冲突处理
- 支持多种版本类型包括 Integer、Long、Short、Timestamp 和 Instant
- 实现基于版本字段的乐观锁更新和删除操作
- 添加完整的版本控制单元测试覆盖各种场景

#321

65099 of 82921 branches covered (78.51%)

Branch coverage included in aggregate %.

155741 of 180330 relevant lines covered (86.36%)

3.68 hits per line

Coverage Regressions

Lines Coverage ∆ File
107
77.59
-1.19% infra/persistence/DefaultEntityManager.java
13
78.36
0.0% infra/persistence/ExampleQuery.java
8
95.25
0.0% infra/web/config/annotation/WebMvcConfigurationSupport.java
4
85.49
-3.53% infra/util/concurrent/AbstractFuture.java
4
96.35
-0.03% infra/web/config/WebMvcAutoConfiguration.java
3
87.35
-0.15% infra/beans/factory/support/StandardBeanFactory.java
3
96.82
-0.47% infra/context/properties/source/ConfigurationPropertyName.java
2
82.26
-8.06% infra/util/concurrent/ListenableFutureTask.java
1
97.4
0.0% infra/app/config/web/WebProperties.java
1
92.36
-0.21% infra/beans/factory/support/DefaultSingletonBeanRegistry.java
1
72.99
-0.95% infra/core/io/buffer/OutputStreamPublisher.java
1
90.08
0.41% infra/core/io/buffer/SubscriberInputStream.java
1
87.1
0.0% infra/web/config/WebMvcProperties.java
1
76.22
-0.7% infra/web/mock/support/WebApplicationContextUtils.java
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/181003255 25103382338.1 29 Apr 2026 10:36AM UTC 5010
83.89
GitHub Action Run
Source Files on build 25103382338
  • Tree
  • List 5010
  • Changed 26
  • Source Changed 0
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25103382338
  • 6925551c on github
  • Prev Build on master (#25045299022)
  • Next Build on master (#25159525114)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc