Skip to content

upgrade mybatis-plus to 3.4.3#8515

Merged
CalvinKirs merged 3 commits into
apache:devfrom
lenboo:dev-0222
Feb 25, 2022
Merged

upgrade mybatis-plus to 3.4.3#8515
CalvinKirs merged 3 commits into
apache:devfrom
lenboo:dev-0222

Conversation

@lenboo
Copy link
Copy Markdown
Contributor

@lenboo lenboo commented Feb 24, 2022

Purpose of the pull request

fix #8513 upgrade mybatis-plus from 3.2.0 to 3.4.3

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

@lenboo lenboo changed the title [draft]upgrade mybatis-plus to 3.4.3 upgrade mybatis-plus to 3.4.3 Feb 24, 2022
zhongjiajie
zhongjiajie previously approved these changes Feb 24, 2022
Copy link
Copy Markdown
Member

@zhongjiajie zhongjiajie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

License LGTM, do you have time to make a double-check? @CalvinKirs

@zhongjiajie zhongjiajie added dependencies Pull requests that update a dependency file development this feature is under development labels Feb 24, 2022
CalvinKirs
CalvinKirs previously approved these changes Feb 24, 2022
Copy link
Copy Markdown
Member

@CalvinKirs CalvinKirs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have confirmed, No license changes.


MybatisPlusInterceptor mybatisPlusInterceptor = new MybatisPlusInterceptor();
mybatisPlusInterceptor.addInnerInterceptor(new PaginationInnerInterceptor());
mybatisPlusInterceptor.addInnerInterceptor(new OptimisticLockerInnerInterceptor());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it need to add this optimistic lock plugin? This plugin requires the object to have a @Version field to take effect.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, i will remove this.

@lenboo lenboo dismissed stale reviews from CalvinKirs and zhongjiajie via 4699880 February 24, 2022 08:12
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 24, 2022

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.35%. Comparing base (0124aa0) to head (4699880).
⚠️ Report is 2948 commits behind head on dev.

Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #8515      +/-   ##
============================================
- Coverage     45.37%   45.35%   -0.02%     
+ Complexity     4029     4027       -2     
============================================
  Files           686      686              
  Lines         26725    26736      +11     
  Branches       2870     2870              
============================================
  Hits          12126    12126              
- Misses        13453    13464      +11     
  Partials       1146     1146              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

Copy link
Copy Markdown
Member

@CalvinKirs CalvinKirs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done

@CalvinKirs CalvinKirs merged commit ca6d148 into apache:dev Feb 25, 2022
@CalvinKirs CalvinKirs added this to the 2.0.4-release milestone Feb 25, 2022
@lenboo lenboo removed this from the 2.0.4-release milestone Mar 2, 2022
lenboo added a commit that referenced this pull request Mar 2, 2022
kezhenxu94 pushed a commit that referenced this pull request Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file development this feature is under development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Upgrade] Upgrade mybatis-plus to 3.4.3

5 participants