New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugfix: fix can't use select for update in oracle #1780
bugfix: fix can't use select for update in oracle #1780
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1780 +/- ##
=============================================
- Coverage 55.1% 55.05% -0.05%
Complexity 2355 2355
=============================================
Files 421 421
Lines 14250 14260 +10
Branches 1705 1708 +3
=============================================
- Hits 7852 7851 -1
- Misses 5678 5685 +7
- Partials 720 724 +4
Continue to review full report at Codecov.
|
rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java
Outdated
Show resolved
Hide resolved
rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java
Outdated
Show resolved
Hide resolved
rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java
Show resolved
Hide resolved
…update' into fix_oracle_can_not_use_select_for_update
rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java
Outdated
Show resolved
Hide resolved
rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java
Outdated
Show resolved
Hide resolved
rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java
Show resolved
Hide resolved
…update' into fix_oracle_can_not_use_select_for_update
rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java
Outdated
Show resolved
Hide resolved
rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java
Outdated
Show resolved
Hide resolved
rm-datasource/src/main/java/io/seata/rm/datasource/exec/SelectForUpdateExecutor.java
Outdated
Show resolved
Hide resolved
…_use_select_for_update
…update' into fix_oracle_can_not_use_select_for_update
…date' into fix_oracle_can_not_use_select_for_update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
* 'develop' of https://github.com/seata/seata: Remove deprecated JVM arguments in Java 11 (apache#1824) style: adjust check style (apache#1820) optimize: format error log (apache#1806) optimize: update codecov.yml (apache#1815) optimize: adjust codecov configuration (apache#1811) fix unexcepted exception can roll back (apache#1796) optimize: reduce unnecessary synchronized (apache#1799) bugfix: connectionproxy prepareStatement not in global transaction (apache#1805) bugfix: fix can't use select for update in oracle (apache#1780) test:changing HashMap to LinkedHashMap for deterministic iterations (apache#1802) feature:gzip compressor (apache#1460)
Ⅰ. Describe what this PR did
when use select for update in oracle, would cause the exception occur.
Ⅱ. Does this pull request fix one issue?
#1779
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews