diff --git a/README.md b/README.md
index e32ef586994..ecff43685d1 100644
--- a/README.md
+++ b/README.md
@@ -4,10 +4,10 @@
# Seata: Simple Extensible Autonomous Transaction Architecture
-[![Build Status](https://github.com/seata/seata/workflows/build/badge.svg?branch=develop)](https://github.com/seata/seata/actions)
-[![codecov](https://codecov.io/gh/seata/seata/branch/develop/graph/badge.svg)](https://codecov.io/gh/seata/seata)
-[![license](https://img.shields.io/github/license/seata/seata.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
-[![maven](https://img.shields.io/maven-central/v/io.seata/seata-parent?versionSuffix=2.0.0)](https://search.maven.org/search?q=io.seata)
+[![Build Status](https://github.com/apache/incubator-seata/workflows/build/badge.svg?branch=develop)](https://github.com/apache/incubator-seata/actions)
+[![codecov](https://codecov.io/gh/apache/incubator-seata/branch/develop/graph/badge.svg)](https://codecov.io/gh/apache/incubator-seata)
+[![license](https://img.shields.io/github/license/apache/incubator-seata.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
+[![maven](https://img.shields.io/maven-central/v/io.apache/incubator-seata-parent?versionSuffix=2.0.0)](https://search.maven.org/search?q=io.seata)
## What is Seata?
@@ -56,7 +56,7 @@ A typical lifecycle of Seata managed distributed transaction:
![Typical Process](https://cdn.nlark.com/lark/0/2018/png/18862/1545296917881-26fabeb9-71fa-4f3e-8a7a-fc317d3389f4.png)
-For more details about principle and design, please go to [Seata wiki page](https://github.com/seata/seata/wiki).
+For more details about principle and design, please go to [Seata wiki page](https://github.com/apache/incubator-seata/wiki).
### History
@@ -108,12 +108,12 @@ Depending on the scenario, choose one of the two dependencies: `io.seata:seata-a
## Quick Start
-[Quick Start](https://seata.io/zh-cn/docs/ops/deploy-guide-beginner.html)
+[Quick Start](https://seata.apache.org/zh-cn/docs/ops/deploy-guide-beginner)
## Documentation
-You can view the full documentation from Seata Official Website: [Seata Website page](https://seata.io/zh-cn/docs/overview/what-is-seata.html).
+You can view the full documentation from Seata Official Website: [Seata Website page](https://seata.apache.org/zh-cn/docs/overview/what-is-seata).
## Reporting bugs
@@ -140,26 +140,24 @@ Contributors are welcomed to join the Seata project. Please check [CONTRIBUTING]
## Seata ecosystem
* [Seata Website](https://github.com/apache/incubator-seata.github.io) - Seata official website
-* [Seata Ecosystem Entry](https://github.com/seata) - A GitHub group `seata` to gather all Seata relevant projects
* [Seata GoLang](https://github.com/apache/incubator-seata-go) - Seata GoLang client and server
* [Seata Samples](https://github.com/apache/incubator-seata-samples) - Samples for Seata
* [Seata GoLang Simples](https://github.com/apache/incubator-seata-go-samples) - Samples for Seata GoLang
* [Seata K8s](https://github.com/apache/incubator-seata-k8s) - Seata integration with k8s
* [Seata CLI](https://github.com/apache/incubator-seata-ctl) - CLI tool for Seata
-* [Awesome Seata](https://github.com/seata/awesome-fescar) - Seata's slides and video address in meetup
## Contributors
-This project exists thanks to all the people who contribute. [[Contributors](https://github.com/seata/seata/graphs/contributors)].
+This project exists thanks to all the people who contribute. [[Contributors](https://github.com/apache/incubator-seata/graphs/contributors)].
## License
-Seata is under the Apache 2.0 license. See the [LICENSE](https://github.com/seata/seata/blob/master/LICENSE) file for details.
+Seata is under the Apache 2.0 license. See the [LICENSE](https://github.com/apache/incubator-seata/blob/master/LICENSE) file for details.
## Who is using
These are only part of the companies using Seata, for reference only. If you are using Seata, please [add your company
-here](https://github.com/seata/seata/issues/1246) to tell us your scenario to make Seata better.
+here](https://github.com/apache/incubator-seata/issues/1246) to tell us your scenario to make Seata better.
diff --git a/build/pom.xml b/build/pom.xml
index 336567f90ad..9b8f85b7839 100644
--- a/build/pom.xml
+++ b/build/pom.xml
@@ -38,30 +38,30 @@
- Seata
- https://github.com/seata
+ Apache
+ https://github.com/apache
-
https://seata.io
+
https://seata.apache.org
Seata
Seata
- https://seata.io
- dev-seata@googlegroups.com
+ https://seata.apache.org
+ dev@seata.apache.org
github
- https://github.com/seata/seata/issues
+ https://github.com/apache/incubator-seata/issues
- git@github.com:seata/seata.git
- scm:git@github.com:seata/seata.git
- scm:git@github.com:seata/seata.git
+ git@github.com:apache/incubator-seata.git
+ scm:git@github.com:apache/incubator-seata.git
+ scm:git@github.com:apache/incubator-seata.git
diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md
index a80513286f4..a99b2592d97 100644
--- a/changes/en-us/2.x.md
+++ b/changes/en-us/2.x.md
@@ -49,6 +49,8 @@ Add changes here for all PR submitted to the 2.x branch.
- [[#6227](https://github.com/apache/incubator-seata/pull/6227)] validate that the primary key is free of illegal characters
- [[#6004](https://github.com/apache/incubator-seata/pull/6004)] optimize RM TM startup connect server fail fast
- [[#6243](https://github.com/apache/incubator-seata/pull/6243)] optimize links in the console header
+- [[#6238](https://github.com/apache/incubator-seata/pull/6238)] optimize some files
+- [[#6239](https://github.com/apache/incubator-seata/pull/6239)] update security policy, disclaimer and notice
- [[#6245](https://github.com/apache/incubator-seata/pull/6245)] in file mode, the configuration in the application takes effect, when the spring configuration in the configuration center is changed
- [[#6247](https://github.com/apache/incubator-seata/pull/6247)] optimize asf.yml
diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md
index 79e0ce2ab48..309ee68f4e0 100644
--- a/changes/zh-cn/2.x.md
+++ b/changes/zh-cn/2.x.md
@@ -48,6 +48,8 @@
- [[#6227](https://github.com/apache/incubator-seata/pull/6227)] 校验pk中不含逗号
- [[#6004](https://github.com/apache/incubator-seata/pull/6004)] 优化RM,TM连接server快速失败
- [[#6243](https://github.com/apache/incubator-seata/pull/6243)] 优化控制台页眉中的链接
+- [[#6238](https://github.com/apache/incubator-seata/pull/6238)] 文件合规优化
+- [[#6239](https://github.com/apache/incubator-seata/pull/6239)] 更新security policy,disclaimer 和 notice 文件
- [[#6245](https://github.com/apache/incubator-seata/pull/6245)] file模式下,在配置中心的spring配置改变时,使应用程序中的配置生效
- [[#6247](https://github.com/apache/incubator-seata/pull/6247)] 优化 asf.yml 配置
diff --git a/console/src/main/resources/static/console-fe/package.json b/console/src/main/resources/static/console-fe/package.json
index e16c89407aa..7ad83a039be 100644
--- a/console/src/main/resources/static/console-fe/package.json
+++ b/console/src/main/resources/static/console-fe/package.json
@@ -23,7 +23,7 @@
"license": "Apache-2.0",
"repository": {
"type": "git",
- "url": "git+https://github.com/seata/seata.git"
+ "url": "git+https://github.com/apache/incubator-seata.git"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
diff --git a/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java b/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java
index 0f35eff8492..97b786e2af1 100644
--- a/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java
+++ b/core/src/main/java/io/seata/core/rpc/netty/v1/ProtocolV1Encoder.java
@@ -64,6 +64,7 @@ public class ProtocolV1Encoder extends MessageToByteEncoder {
@Override
public void encode(ChannelHandlerContext ctx, Object msg, ByteBuf out) {
try {
+
if (msg instanceof RpcMessage) {
RpcMessage rpcMessage = (RpcMessage) msg;
diff --git a/distribution/Dockerfile b/distribution/Dockerfile
index 25bc060a02c..6c6bf88d745 100644
--- a/distribution/Dockerfile
+++ b/distribution/Dockerfile
@@ -28,7 +28,7 @@
FROM openjdk:8u342
# set label
-LABEL maintainer="Seata "
+LABEL maintainer="Seata "
WORKDIR /$BASE_DIR
diff --git a/mvnw.cmd b/mvnw.cmd
index 0dd17319b8f..169db32e236 100755
--- a/mvnw.cmd
+++ b/mvnw.cmd
@@ -1,5 +1,4 @@
@REM ----------------------------------------------------------------------------
-@REM Copyright 1999-2019 Seata.io Group.
@REM
@REM Licensed under the Apache License, Version 2.0 (the "License");
@REM you may not use this file except in compliance with the License.
diff --git a/saga/seata-saga-statemachine-designer/README.md b/saga/seata-saga-statemachine-designer/README.md
index 9f86bd1839d..9938741fc88 100644
--- a/saga/seata-saga-statemachine-designer/README.md
+++ b/saga/seata-saga-statemachine-designer/README.md
@@ -7,7 +7,7 @@ A visual graph Seata Saga StateMachine Designer based on [GGEditor](https://gith
## run
```sh
-$ git clone https://github.com/seata/seata.git
+$ git clone https://github.com/apache/incubator-seata.git
$ cd saga/seata-saga-statemachine-designer
$ npm install
$ npm start
@@ -22,4 +22,4 @@ $ npm run build
copy 'index.html' and 'dist' directory to static html directory of web server
## Usage
-To understand the state types of the state machine, please see [document of Saga](https://seata.io/zh-cn/docs/user/saga.html). After using the designer to complete the design of the state machine, you can click the 'Json View' button on the toolbar to switch to the Json view, and save the Json to the project of your own application. Although the Json generated by the designer is different from the standard Json of the Saga state machine (because the json generated by the designer has layout information), the state machine can be directly loaded and it will be converted into the Json of the Saga state machine standard.
+To understand the state types of the state machine, please see [document of Saga](https://seata.apache.org/zh-cn/docs/user/mode/saga). After using the designer to complete the design of the state machine, you can click the 'Json View' button on the toolbar to switch to the Json view, and save the Json to the project of your own application. Although the Json generated by the designer is different from the standard Json of the Saga state machine (because the json generated by the designer has layout information), the state machine can be directly loaded and it will be converted into the Json of the Saga state machine standard.
diff --git a/saga/seata-saga-statemachine-designer/README.zh-CN.md b/saga/seata-saga-statemachine-designer/README.zh-CN.md
index 35f9e9e37d1..71a8df35667 100644
--- a/saga/seata-saga-statemachine-designer/README.zh-CN.md
+++ b/saga/seata-saga-statemachine-designer/README.zh-CN.md
@@ -7,7 +7,7 @@ Seata Saga 状态机可视化图形设计器, 基于 [GGEditor](https://github.c
## 运行
```sh
-$ git clone https://github.com/seata/seata.git
+$ git clone https://github.com/apache/incubator-seata.git
$ cd saga/seata-saga-statemachine-designer
$ npm install
$ npm start
@@ -22,4 +22,4 @@ $ npm run build
然后将index.html和dist目录拷贝到web server的静态页面目录下
## 使用
-了解状态机的种状态类型,请看Saga的[文档](https://seata.io/zh-cn/docs/user/saga.html)。 通过设计器完成设计后可以点击工具栏的'Json View'按钮切换到Json视图,将Json拷贝保存到自己应用的工程里。虽然设计器生成的Json与Saga标准的Json有所差别(因为设计器生成的json带有布局信息),但状态机可以直接加载,它会将其转化成Saga状态机标准的Json。
+了解状态机的种状态类型,请看Saga的[文档](https://seata.apache.org/zh-cn/docs/user/mode/saga)。 通过设计器完成设计后可以点击工具栏的'Json View'按钮切换到Json视图,将Json拷贝保存到自己应用的工程里。虽然设计器生成的Json与Saga标准的Json有所差别(因为设计器生成的json带有布局信息),但状态机可以直接加载,它会将其转化成Saga状态机标准的Json。
diff --git a/saga/seata-saga-statemachine-designer/package.json b/saga/seata-saga-statemachine-designer/package.json
index 0f2fbfe95e6..2f420ebe9f9 100644
--- a/saga/seata-saga-statemachine-designer/package.json
+++ b/saga/seata-saga-statemachine-designer/package.json
@@ -27,7 +27,7 @@
},
"repository": {
"type": "git",
- "url": "git+https://github.com/seata/seata.git"
+ "url": "git+https://github.com/apache/incubator-seata.git"
},
"authors": [
{
@@ -37,9 +37,9 @@
],
"license": "Apache-2.0",
"bugs": {
- "url": "https://github.com/seata/seata/issues"
+ "url": "https://github.com/apache/incubator-seata/issues"
},
- "homepage": "https://seata.io/",
+ "homepage": "https://seata.apache.org/",
"peerDependencies": {
"react": "^16.3.0"
},
diff --git a/saga/seata-saga-statemachine-designer/src/components/EditorDetailPanel/DetailForm.js b/saga/seata-saga-statemachine-designer/src/components/EditorDetailPanel/DetailForm.js
index bdcc470f27c..5c9dd0ca4a6 100644
--- a/saga/seata-saga-statemachine-designer/src/components/EditorDetailPanel/DetailForm.js
+++ b/saga/seata-saga-statemachine-designer/src/components/EditorDetailPanel/DetailForm.js
@@ -116,7 +116,7 @@ class DetailForm extends React.Component {
initialValue: JSON.stringify(stateProps, null, 2),
})()}
- How to fill the properties?
+ How to fill the properties?
);
};
@@ -142,7 +142,7 @@ class DetailForm extends React.Component {
initialValue: JSON.stringify(stateProps, null, 2),
})()}
- How to fill the properties?
+ How to fill the properties?
);
};
diff --git a/script/config-center/README.md b/script/config-center/README.md
index b255d6fac05..382000a5392 100644
--- a/script/config-center/README.md
+++ b/script/config-center/README.md
@@ -3,7 +3,7 @@
## important attributes
-you only need to follow the instructions below and keep the corresponding configuration in 'config.txt' to run. For more configuration information, please visit [seata.io](https://seata.io/)
+you only need to follow the instructions below and keep the corresponding configuration in 'config.txt' to run. For more configuration information, please visit [seata.apache.org](https://seata.apache.org/)
| server | client |
| ------------------------ | ------------------------------------------------------------ |
diff --git a/script/config-center/config.txt b/script/config-center/config.txt
index 80a478ccb1d..0b62de08c4d 100644
--- a/script/config-center/config.txt
+++ b/script/config-center/config.txt
@@ -1,4 +1,4 @@
-#For details about configuration items, see https://seata.io/zh-cn/docs/user/configurations.html
+#For details about configuration items, see https://seata.apache.org/zh-cn/docs/user/configurations
#Transport configuration, for client and server
transport.type=TCP
transport.server=NIO
diff --git a/server/src/main/resources/README-zh.md b/server/src/main/resources/README-zh.md
index 05d1620e823..e9baff03bac 100644
--- a/server/src/main/resources/README-zh.md
+++ b/server/src/main/resources/README-zh.md
@@ -1,6 +1,6 @@
# 脚本说明
-## [client](https://github.com/seata/seata/tree/develop/script/client)
+## [client](https://github.com/apache/incubator-seata/tree/develop/script/client)
> 存放用于客户端的配置和SQL
@@ -9,7 +9,7 @@
- saga: SAGA 模式下所需表的建表语句
- spring: SpringBoot 应用支持的配置文件
-## [server](https://github.com/seata/seata/tree/develop/script/server)
+## [server](https://github.com/apache/incubator-seata/tree/develop/script/server)
> 存放server侧所需SQL和部署脚本
@@ -18,7 +18,7 @@
- helm: server 侧通过 Helm 部署的脚本
- kubernetes: server 侧通过 Kubernetes 部署的脚本
-## [config-center](https://github.com/seata/seata/tree/develop/script/config-center)
+## [config-center](https://github.com/apache/incubator-seata/tree/develop/script/config-center)
> 用于存放各种配置中心的初始化脚本,执行时都会读取 `config.txt`配置文件,并写入配置中心
diff --git a/server/src/main/resources/README.md b/server/src/main/resources/README.md
index ddabd559c43..eabba7aeb51 100644
--- a/server/src/main/resources/README.md
+++ b/server/src/main/resources/README.md
@@ -1,6 +1,6 @@
# Script Description
-## [client](https://github.com/seata/seata/tree/develop/script/client)
+## [client](https://github.com/apache/incubator-seata/tree/develop/script/client)
> Store configuration and SQL for client side
@@ -9,7 +9,7 @@
- saga: Script of create table in SAGA mode
- spring: Configuration for Spring Boot
-## [server](https://github.com/seata/seata/tree/develop/script/server)
+## [server](https://github.com/apache/incubator-seata/tree/develop/script/server)
> Store SQL and deploy script for server side
@@ -18,7 +18,7 @@
- helm: Script for deploy server by Helm
- kubernetes: Script for deploy server by Kubernetes
-## [config-center](https://github.com/seata/seata/tree/develop/script/config-center)
+## [config-center](https://github.com/apache/incubator-seata/tree/develop/script/config-center)
> Store initialize script for configuration center, will use `config.txt` as configuration when initial
diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/BaseRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/BaseRecognizer.java
index d989d23a82c..6701a61c656 100644
--- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/BaseRecognizer.java
+++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/BaseRecognizer.java
@@ -123,28 +123,28 @@ public boolean isSqlSyntaxSupports() {
public boolean visit(SQLInSubQueryExpr x) {
//just like: ...where id in (select id from t)
throw new NotSupportYetException("not support the sql syntax with InSubQuery:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
public boolean visit(SQLSubqueryTableSource x) {
//just like: select * from (select * from t)
throw new NotSupportYetException("not support the sql syntax with SubQuery:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
public boolean visit(SQLReplaceStatement x) {
//just like: replace into t (id,dr) values (1,'2'), (2,'3')
throw new NotSupportYetException("not support the sql syntax with ReplaceStatement:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
public boolean visit(SQLMergeStatement x) {
//just like: merge into ... WHEN MATCHED THEN ...
throw new NotSupportYetException("not support the sql syntax with MergeStatement:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
@@ -152,7 +152,7 @@ public boolean visit(SQLInsertStatement x) {
if (null != x.getQuery()) {
//just like: insert into t select * from t1
throw new NotSupportYetException("not support the sql syntax insert with query:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
return true;
}
diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/BaseOracleRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/BaseOracleRecognizer.java
index 99e45620703..0582870614e 100644
--- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/BaseOracleRecognizer.java
+++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/oracle/BaseOracleRecognizer.java
@@ -126,7 +126,7 @@ public boolean isSqlSyntaxSupports() {
public boolean visit(OracleSelectJoin x) {
//just like: UPDATE table a INNER JOIN table b ON a.id = b.pid ...
throw new NotSupportYetException("not support the sql syntax with join table:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
@@ -134,14 +134,14 @@ public boolean visit(OracleUpdateStatement x) {
if (x.getTableSource() instanceof OracleSelectSubqueryTableSource) {
//just like: "update (select a.id,a.name from a inner join b on a.id = b.id) t set t.name = 'xxx'"
throw new NotSupportYetException("not support the sql syntax with join table:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
List updateSetItems = x.getItems();
for (SQLUpdateSetItem updateSetItem : updateSetItems) {
if (updateSetItem.getValue() instanceof SQLQueryExpr) {
//just like: "update a set a.id = (select id from b where a.pid = b.pid)"
throw new NotSupportYetException("not support the sql syntax with join table:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
}
return true;
@@ -151,28 +151,28 @@ public boolean visit(OracleUpdateStatement x) {
public boolean visit(SQLInSubQueryExpr x) {
//just like: ...where id in (select id from t)
throw new NotSupportYetException("not support the sql syntax with InSubQuery:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
public boolean visit(OracleSelectSubqueryTableSource x) {
//just like: select * from (select * from t) for update
throw new NotSupportYetException("not support the sql syntax with SubQuery:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
public boolean visit(SQLReplaceStatement x) {
//just like: replace into t (id,dr) values (1,'2'), (2,'3')
throw new NotSupportYetException("not support the sql syntax with ReplaceStatement:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
public boolean visit(SQLMergeStatement x) {
//just like: merge into ... WHEN MATCHED THEN ...
throw new NotSupportYetException("not support the sql syntax with MergeStatement:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
@@ -180,7 +180,7 @@ public boolean visit(SQLInsertStatement x) {
if (null != x.getQuery()) {
//just like: insert into t select * from t1
throw new NotSupportYetException("not support the sql syntax insert with query:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
return true;
}
diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/BasePostgresqlRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/BasePostgresqlRecognizer.java
index bf3c37aec54..e41eba5004c 100644
--- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/BasePostgresqlRecognizer.java
+++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/postgresql/BasePostgresqlRecognizer.java
@@ -84,7 +84,7 @@ public boolean isSqlSyntaxSupports() {
public boolean visit(SQLSubqueryTableSource x) {
//just like: select * from (select * from t) for update
throw new NotSupportYetException("not support the sql syntax with SubQuery:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
@@ -92,7 +92,7 @@ public boolean visit(PGUpdateStatement x) {
if (x.getFrom() != null) {
//just like: update a set id = b.pid from b where a.id = b.id
throw new NotSupportYetException("not support the sql syntax with join table:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
return true;
}
@@ -101,21 +101,21 @@ public boolean visit(PGUpdateStatement x) {
public boolean visit(SQLInSubQueryExpr x) {
//just like: ...where id in (select id from t)
throw new NotSupportYetException("not support the sql syntax with InSubQuery:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
public boolean visit(SQLReplaceStatement x) {
//just like: replace into t (id,dr) values (1,'2'), (2,'3')
throw new NotSupportYetException("not support the sql syntax with ReplaceStatement:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
public boolean visit(SQLMergeStatement x) {
//just like: merge into ... WHEN MATCHED THEN ...
throw new NotSupportYetException("not support the sql syntax with MergeStatement:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
@@ -123,7 +123,7 @@ public boolean visit(PGInsertStatement x) {
if (null != x.getQuery()) {
//just like: insert into t select * from t1
throw new NotSupportYetException("not support the sql syntax insert with query:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
return true;
}
diff --git a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/BaseSqlServerRecognizer.java b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/BaseSqlServerRecognizer.java
index ba4cc3e295c..8b131a087df 100644
--- a/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/BaseSqlServerRecognizer.java
+++ b/sqlparser/seata-sqlparser-druid/src/main/java/io/seata/sqlparser/druid/sqlserver/BaseSqlServerRecognizer.java
@@ -114,28 +114,28 @@ public boolean isSqlSyntaxSupports() {
public boolean visit(SQLInSubQueryExpr x) {
//just like: ...where id in (select id from t)
throw new NotSupportYetException("not support the sql syntax with InSubQuery:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
public boolean visit(SQLSubqueryTableSource x) {
//just like: select * from (select * from t)
throw new NotSupportYetException("not support the sql syntax with SubQuery:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
public boolean visit(SQLReplaceStatement x) {
//just like: replace into t (id,dr) values (1,'2'), (2,'3')
throw new NotSupportYetException("not support the sql syntax with ReplaceStatement:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
public boolean visit(SQLMergeStatement x) {
//just like: merge into ... WHEN MATCHED THEN ...
throw new NotSupportYetException("not support the sql syntax with MergeStatement:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
@Override
@@ -143,7 +143,7 @@ public boolean visit(SQLInsertStatement x) {
if (null != x.getQuery()) {
//just like: insert into t select * from t1
throw new NotSupportYetException("not support the sql syntax insert with query:" + x
- + "\nplease see the doc about SQL restrictions https://seata.io/zh-cn/docs/user/sqlreference/dml.html");
+ + "\nplease see the doc about SQL restrictions https://seata.apache.org/zh-cn/docs/user/sqlreference/dml");
}
return true;
}