konveyor / konveyor/rulesets

Create rules for deprecated exceptions

Open
#147 3 comments 0 reactions 0 assignees View on GitHub
kind/feature priority/important-longterm size/XS spring-migration/6 spring-migration/6.0 stale triage/accepted
Dominant language
Java
Stars
6
Forks
49
PR merge metrics
No merged PRs in 30d

Description

According to the [migration guide](https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-6.x#data-access-and-transactions-1):

> CannotSerializeTransactionException and DeadlockLoserDataAccessException are deprecated as of 6.0.3 due to their inconsistent JDBC semantics, in favor of the PessimisticLockingFailureException base class and consistent semantics of its common CannotAcquireLockException subclass (aligned with JPA/Hibernate) in all default exception translation scenarios.

Investigate and create rules if necessary.

In the rule description and message, try to be as verbose and clear as possible. Code examples are always welcome and useful. Feel free to use markdown syntax for these.

Contributor guide

Open the contributing guide

Research direction

Start with the linked Spring Framework 6.x migration guide and search this repository for CannotSerializeTransactionException and DeadlockLoserDataAccessException. Determine whether rules are needed, then ensure any rules have verbose, clear descriptions and messages with useful Markdown code examples; done means the relevant deprecated-exception coverage is represented in the ruleset.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.