Skip to content

feature:support db2 in AT mode#4096

Open
GoodBoyCoder wants to merge 50 commits into
apache:2.xfrom
GoodBoyCoder:feature_support_db2
Open

feature:support db2 in AT mode#4096
GoodBoyCoder wants to merge 50 commits into
apache:2.xfrom
GoodBoyCoder:feature_support_db2

Conversation

@GoodBoyCoder

@GoodBoyCoder GoodBoyCoder commented Oct 25, 2021

Copy link
Copy Markdown
Contributor
  • I have registered the PR changes.

Ⅰ. Describe what this PR did

support DB2 DataBase

Ⅱ. Does this pull request fix one issue?

fixes #3744

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

  • Identity column of type generated always as identity is not supported. This type of Identity value can only be generated by the system, which will cause Execption when performing Delete rollback compensation. If necessary, it is recommended to use BY DEFAULT
  • "Insert into table_name (...) values (?, ?, ?, ?);" This type of SQL with ";" added after it, if you add a sign that needs to return the auto-incremented primary key value (such as Statement.RETURN_GENERATED_KEYS, primary key column), it will be abnormal when executed, it is normal not to add ";"

@funky-eyes funky-eyes added this to the 2.0.0 milestone Oct 25, 2021
@lgtm-com

lgtm-com Bot commented Oct 25, 2021

Copy link
Copy Markdown

This pull request introduces 2 alerts when merging aa477ef into 0c2ae32 - view on LGTM.com

new alerts:

  • 1 for Potential database resource leak
  • 1 for Boxed variable is never null

@lgtm-com

lgtm-com Bot commented Nov 11, 2021

Copy link
Copy Markdown

This pull request introduces 2 alerts when merging 2ba2519 into 6f877fa - view on LGTM.com

new alerts:

  • 1 for Potential database resource leak
  • 1 for Boxed variable is never null

@funky-eyes funky-eyes changed the base branch from develop to 2.0.0 November 13, 2021 07:44
@lgtm-com

lgtm-com Bot commented Nov 13, 2021

Copy link
Copy Markdown

This pull request introduces 2 alerts when merging 2ba2519 into f67644a - view on LGTM.com

new alerts:

  • 1 for Potential database resource leak
  • 1 for Boxed variable is never null

@lgtm-com

lgtm-com Bot commented Nov 13, 2021

Copy link
Copy Markdown

This pull request introduces 2 alerts when merging 979806e into 6f877fa - view on LGTM.com

new alerts:

  • 1 for Potential database resource leak
  • 1 for Boxed variable is never null

# Conflicts:
#	rm-datasource/src/main/java/io/seata/rm/datasource/AbstractStatementProxy.java
#	rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java
#	rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java
@lgtm-com

lgtm-com Bot commented Mar 15, 2022

Copy link
Copy Markdown

This pull request introduces 2 alerts when merging 84e15eb into 4c88984 - view on LGTM.com

new alerts:

  • 1 for Potential database resource leak
  • 1 for Boxed variable is never null

@funky-eyes funky-eyes changed the base branch from 2.0.0 to develop April 21, 2022 14:09
funky-eyes
funky-eyes previously approved these changes Apr 21, 2022

@funky-eyes funky-eyes left a comment

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.

LGTM

@lgtm-com

lgtm-com Bot commented Apr 21, 2022

Copy link
Copy Markdown

This pull request introduces 2 alerts when merging 936423f into 8cefdbb - view on LGTM.com

new alerts:

  • 1 for Potential database resource leak
  • 1 for Boxed variable is never null

@CLAassistant

CLAassistant commented Dec 12, 2022

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 4 committers have signed the CLA.

❌ a364176773
❌ qingjiusanliangsan
❌ GoodBoyCoder
❌ wangliang181230
You have signed the CLA already but the status is still pending? Let us recheck it.

# Conflicts:
#	rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java
@GoodBoyCoder GoodBoyCoder changed the base branch from develop to 2.0.0 February 17, 2023 07:54
@funky-eyes funky-eyes modified the milestones: 2.0.0, 2.x Backlog Nov 4, 2023
@slievrly slievrly changed the base branch from 2.0.0 to 2.x November 20, 2023 13:17
# Conflicts:
#	rm-datasource/src/main/java/io/seata/rm/datasource/DataSourceProxy.java
#	rm-datasource/src/main/resources/META-INF/services/io.seata.rm.datasource.exec.InsertExecutor
#	rm-datasource/src/main/resources/META-INF/services/io.seata.rm.datasource.sql.struct.TableMetaCache
#	rm-datasource/src/main/resources/META-INF/services/io.seata.rm.datasource.undo.UndoExecutorHolder
#	rm-datasource/src/main/resources/META-INF/services/io.seata.rm.datasource.undo.UndoLogManager
#	rm-datasource/src/main/resources/META-INF/services/io.seata.sqlparser.KeywordChecker
#	rm-datasource/src/test/java/io/seata/rm/datasource/DataSourceProxyTest.java
#	sqlparser/seata-sqlparser-druid/src/main/resources/META-INF/services/io.seata.sqlparser.druid.SQLOperateRecognizerHolder
# Conflicts:
#	rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/cache/DB2TableMetaCache.java
#	rm-datasource/src/main/resources/META-INF/services/io.seata.rm.datasource.exec.InsertExecutor
#	rm-datasource/src/main/resources/META-INF/services/io.seata.rm.datasource.undo.UndoExecutorHolder
#	rm-datasource/src/main/resources/META-INF/services/io.seata.rm.datasource.undo.UndoLogManager
#	rm-datasource/src/main/resources/META-INF/services/io.seata.sqlparser.EscapeHandler
#	rm-datasource/src/main/resources/META-INF/services/io.seata.sqlparser.struct.TableMetaCache
#	rm-datasource/src/test/java/org/apache/seata/rm/datasource/exec/DB2InsertExecutorTest.java
#	rm-datasource/src/test/java/org/apache/seata/rm/datasource/sql/struct/cache/DB2TableMetaCacheTest.java
#	sqlparser/seata-sqlparser-druid/src/main/resources/META-INF/services/io.seata.sqlparser.druid.SQLOperateRecognizerHolder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mode: AT AT transaction mode module/rm-datasource rm-datasource module module/sqlparser sql-parser module Summer2021 type: feature Category issues or prs related to feature request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Summer 2021] Seata extension IBM db2 support

7 participants