From 31ea798ebd4aeeb1d5776097f0050e19321166ed Mon Sep 17 00:00:00 2001 From: Suomm <1474983351@qq.com> Date: Wed, 14 Jun 2023 13:19:48 +0800 Subject: [PATCH 1/5] =?UTF-8?q?doc:=20xml=20=E6=96=87=E6=A1=A3=E7=BC=A9?= =?UTF-8?q?=E8=BF=9B=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/zh/others/codegen.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/zh/others/codegen.md b/docs/zh/others/codegen.md index 08be198d..1174a9e9 100644 --- a/docs/zh/others/codegen.md +++ b/docs/zh/others/codegen.md @@ -25,9 +25,9 @@ -mysql -mysql-connector-java -8.0.32 + mysql + mysql-connector-java + 8.0.32 ``` From bff54297072fceb5fe67c63c4bfe2359897e40e8 Mon Sep 17 00:00:00 2001 From: Suomm <1474983351@qq.com> Date: Wed, 14 Jun 2023 13:21:06 +0800 Subject: [PATCH 2/5] =?UTF-8?q?fix:=20=E5=A4=9A=E5=87=BA=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E7=A9=BA=E6=A0=BC=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/mybatisflex/core/dialect/LimitOffsetProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/LimitOffsetProcessor.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/LimitOffsetProcessor.java index c931c01c..db312d92 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/LimitOffsetProcessor.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/LimitOffsetProcessor.java @@ -131,7 +131,7 @@ public interface LimitOffsetProcessor { } StringBuilder newSql = new StringBuilder("SELECT * FROM (SELECT TEMP_DATAS.*, ROWNUM RN FROM ("); newSql.append(sql); - newSql.append(") TEMP_DATAS WHERE ROWNUM <= ").append(limitOffset + limitRows).append(" ) WHERE RN > ").append(limitOffset); + newSql.append(") TEMP_DATAS WHERE ROWNUM <= ").append(limitOffset + limitRows).append(") WHERE RN > ").append(limitOffset); return newSql; } return sql; From 18817e6516446cab48a602451971409a8ec3a8b0 Mon Sep 17 00:00:00 2001 From: Suomm <1474983351@qq.com> Date: Wed, 14 Jun 2023 13:25:08 +0800 Subject: [PATCH 3/5] =?UTF-8?q?style:=20=E6=A0=BC=E5=BC=8F=E5=8C=96=20Keyw?= =?UTF-8?q?ordWrap=20=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mybatisflex/core/dialect/KeywordWrap.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/KeywordWrap.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/KeywordWrap.java index 148f4578..c44e38c1 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/KeywordWrap.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/KeywordWrap.java @@ -30,7 +30,7 @@ public class KeywordWrap { /** * 无反义处理, 适用于 db2, informix, clickhouse 等 */ - public final static KeywordWrap NONE = new KeywordWrap("", "") { + public static final KeywordWrap NONE = new KeywordWrap("", "") { @Override public String wrap(String keyword) { return keyword; @@ -40,27 +40,27 @@ public class KeywordWrap { /** * 反引号反义处理, 适用于 mysql, h2 等 */ - public final static KeywordWrap BACKQUOTE = new KeywordWrap("`", "`"); + public static final KeywordWrap BACKQUOTE = new KeywordWrap("`", "`"); /** * 双引号反义处理, 适用于 postgresql, sqlite, derby, oracle 等 */ - public final static KeywordWrap DOUBLE_QUOTATION = new KeywordWrap("\"", "\""); + public static final KeywordWrap DOUBLE_QUOTATION = new KeywordWrap("\"", "\""); /** * 方括号反义处理, 适用于 sqlserver */ - public final static KeywordWrap SQUARE_BRACKETS = new KeywordWrap("[", "]"); + public static final KeywordWrap SQUARE_BRACKETS = new KeywordWrap("[", "]"); /** * 大小写敏感 */ - private boolean caseSensitive = false; + private final boolean caseSensitive; /** * 数据库关键字 */ - private Set keywords = Collections.emptySet(); + private final Set keywords; /** * 前缀 From 909e8c70e72039d150ec2b321c498b8ccffb9bab Mon Sep 17 00:00:00 2001 From: Suomm <1474983351@qq.com> Date: Wed, 14 Jun 2023 13:26:13 +0800 Subject: [PATCH 4/5] =?UTF-8?q?refactor:=20=E9=87=8D=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E5=B8=B8=E9=87=8F=E5=90=8D=EF=BC=8C=E7=AC=A6=E5=90=88=E5=A4=A7?= =?UTF-8?q?=E5=86=99=E5=AD=97=E6=AF=8D=E5=8A=A0=E4=B8=8B=E5=88=92=E7=BA=BF?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/mybatisflex/core/dialect/DialectFactory.java | 4 ++-- .../main/java/com/mybatisflex/core/dialect/KeywordWrap.java | 2 +- .../com/mybatisflex/core/dialect/impl/CommonsDialectImpl.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/DialectFactory.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/DialectFactory.java index ddb942d9..78a72a4e 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/DialectFactory.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/DialectFactory.java @@ -106,7 +106,7 @@ public class DialectFactory { case CUBRID: case GOLDILOCKS: case CSIIDB: - return new CommonsDialectImpl(KeywordWrap.BACKQUOTE, LimitOffsetProcessor.MYSQL); + return new CommonsDialectImpl(KeywordWrap.BACK_QUOTE, LimitOffsetProcessor.MYSQL); case ORACLE: return new OracleDialect(); case DM: @@ -126,7 +126,7 @@ public class DialectFactory { case UXDB: return new CommonsDialectImpl(KeywordWrap.DOUBLE_QUOTATION, LimitOffsetProcessor.POSTGRESQL); case TDENGINE: - return new CommonsDialectImpl(KeywordWrap.BACKQUOTE, LimitOffsetProcessor.POSTGRESQL); + return new CommonsDialectImpl(KeywordWrap.BACK_QUOTE, LimitOffsetProcessor.POSTGRESQL); case ORACLE_12C: return new OracleDialect(LimitOffsetProcessor.DERBY); case FIREBIRD: diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/KeywordWrap.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/KeywordWrap.java index c44e38c1..3a2cb81d 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/KeywordWrap.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/KeywordWrap.java @@ -40,7 +40,7 @@ public class KeywordWrap { /** * 反引号反义处理, 适用于 mysql, h2 等 */ - public static final KeywordWrap BACKQUOTE = new KeywordWrap("`", "`"); + public static final KeywordWrap BACK_QUOTE = new KeywordWrap("`", "`"); /** * 双引号反义处理, 适用于 postgresql, sqlite, derby, oracle 等 diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/impl/CommonsDialectImpl.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/impl/CommonsDialectImpl.java index 24ce58f2..f9b4d875 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/impl/CommonsDialectImpl.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/impl/CommonsDialectImpl.java @@ -43,7 +43,7 @@ import static com.mybatisflex.core.constant.SqlConsts.*; */ public class CommonsDialectImpl implements IDialect { - protected KeywordWrap keywordWrap = KeywordWrap.BACKQUOTE; + protected KeywordWrap keywordWrap = KeywordWrap.BACK_QUOTE; private LimitOffsetProcessor limitOffsetProcessor = LimitOffsetProcessor.MYSQL; public CommonsDialectImpl() { From e40b1712f1d430519f24d449e9a50afe26c63854 Mon Sep 17 00:00:00 2001 From: Suomm <1474983351@qq.com> Date: Wed, 14 Jun 2023 13:27:12 +0800 Subject: [PATCH 5/5] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20package-info.j?= =?UTF-8?q?ava=20=E6=96=B9=E4=BE=BF=E5=BC=80=E5=8F=91=E8=80=85=E7=90=86?= =?UTF-8?q?=E8=A7=A3=E5=8C=85=E5=86=85=E5=AE=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mybatisflex/core/audit/package-info.java | 20 +++++++++++++++++++ .../core/constant/package-info.java | 20 +++++++++++++++++++ .../core/datasource/package-info.java | 20 +++++++++++++++++++ .../core/dialect/impl/package-info.java | 20 +++++++++++++++++++ .../core/dialect/package-info.java | 20 +++++++++++++++++++ .../core/exception/package-info.java | 20 +++++++++++++++++++ .../mybatisflex/core/field/package-info.java | 20 +++++++++++++++++++ .../core/handler/package-info.java | 20 +++++++++++++++++++ .../core/javassist/package-info.java | 20 +++++++++++++++++++ .../core/keygen/impl/package-info.java | 20 +++++++++++++++++++ .../mybatisflex/core/keygen/package-info.java | 20 +++++++++++++++++++ .../mybatisflex/core/mask/package-info.java | 20 +++++++++++++++++++ .../core/mybatis/executor/package-info.java | 20 +++++++++++++++++++ .../core/mybatis/package-info.java | 20 +++++++++++++++++++ .../com/mybatisflex/core/package-info.java | 20 +++++++++++++++++++ .../core/paginate/package-info.java | 20 +++++++++++++++++++ .../core/provider/package-info.java | 20 +++++++++++++++++++ .../mybatisflex/core/query/package-info.java | 20 +++++++++++++++++++ .../mybatisflex/core/row/package-info.java | 20 +++++++++++++++++++ .../core/service/package-info.java | 20 +++++++++++++++++++ .../mybatisflex/core/table/package-info.java | 20 +++++++++++++++++++ .../mybatisflex/core/tenant/package-info.java | 20 +++++++++++++++++++ .../core/transaction/package-info.java | 20 +++++++++++++++++++ .../mybatisflex/core/util/package-info.java | 20 +++++++++++++++++++ 24 files changed, 480 insertions(+) create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/audit/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/constant/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/datasource/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/impl/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/exception/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/field/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/handler/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/javassist/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/keygen/impl/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/keygen/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/mask/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/mybatis/executor/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/mybatis/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/paginate/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/provider/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/query/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/row/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/service/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/table/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/tenant/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/transaction/package-info.java create mode 100644 mybatis-flex-core/src/main/java/com/mybatisflex/core/util/package-info.java diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/audit/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/audit/package-info.java new file mode 100644 index 00000000..da016ade --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/audit/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * SQL 审计功能。 + */ +package com.mybatisflex.core.audit; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/constant/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/constant/package-info.java new file mode 100644 index 00000000..7728abcb --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/constant/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 常量定义。 + */ +package com.mybatisflex.core.constant; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/datasource/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/datasource/package-info.java new file mode 100644 index 00000000..de086e58 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/datasource/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 多数据源功能。 + */ +package com.mybatisflex.core.datasource; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/impl/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/impl/package-info.java new file mode 100644 index 00000000..6559531d --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/impl/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 默认 SQL 方言实现类。 + */ +package com.mybatisflex.core.dialect.impl; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/package-info.java new file mode 100644 index 00000000..2faa2ff9 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/dialect/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * SQL 方言功能。 + */ +package com.mybatisflex.core.dialect; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/exception/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/exception/package-info.java new file mode 100644 index 00000000..28b21498 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/exception/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 异常定义。 + */ +package com.mybatisflex.core.exception; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/field/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/field/package-info.java new file mode 100644 index 00000000..831850e6 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/field/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 属性查询(Field Query)功能。 + */ +package com.mybatisflex.core.field; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/handler/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/handler/package-info.java new file mode 100644 index 00000000..2a3a1cb2 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/handler/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 内置类型处理器。 + */ +package com.mybatisflex.core.handler; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/javassist/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/javassist/package-info.java new file mode 100644 index 00000000..0fafa3c2 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/javassist/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 处理部分字段更新。 + */ +package com.mybatisflex.core.javassist; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/keygen/impl/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/keygen/impl/package-info.java new file mode 100644 index 00000000..fcea8e5d --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/keygen/impl/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 内置主键生成器实现。 + */ +package com.mybatisflex.core.keygen.impl; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/keygen/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/keygen/package-info.java new file mode 100644 index 00000000..52f9adf7 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/keygen/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 主键生成功能。 + */ +package com.mybatisflex.core.keygen; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/mask/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/mask/package-info.java new file mode 100644 index 00000000..cc973929 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/mask/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 数据脱敏功能。 + */ +package com.mybatisflex.core.mask; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/mybatis/executor/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/mybatis/executor/package-info.java new file mode 100644 index 00000000..e3cef4c5 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/mybatis/executor/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 替换 MyBatis 的执行器(Executor)。 + */ +package com.mybatisflex.core.mybatis.executor; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/mybatis/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/mybatis/package-info.java new file mode 100644 index 00000000..2c8a52db --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/mybatis/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * MyBatis 功能增强。 + */ +package com.mybatisflex.core.mybatis; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/package-info.java new file mode 100644 index 00000000..402c3e62 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * MyBatis-Flex 一个优雅的 MyBatis 增强框架。 + */ +package com.mybatisflex.core; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/paginate/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/paginate/package-info.java new file mode 100644 index 00000000..bc505643 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/paginate/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 分页功能。 + */ +package com.mybatisflex.core.paginate; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/provider/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/provider/package-info.java new file mode 100644 index 00000000..7bf1fbb7 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/provider/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * MyBatis 动态 SQL 实现(SQL Provider)。 + */ +package com.mybatisflex.core.provider; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/package-info.java new file mode 100644 index 00000000..c876b5c2 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * SQL 条件构造功能。 + */ +package com.mybatisflex.core.query; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/row/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/row/package-info.java new file mode 100644 index 00000000..d287e925 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/row/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * Db + Row 功能。 + */ +package com.mybatisflex.core.row; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/service/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/service/package-info.java new file mode 100644 index 00000000..0d472a45 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/service/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 通用增强 Service 接口。 + */ +package com.mybatisflex.core.service; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/table/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/table/package-info.java new file mode 100644 index 00000000..95f878e3 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/table/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 实体类(表)结构元数据解析。 + */ +package com.mybatisflex.core.table; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/tenant/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/tenant/package-info.java new file mode 100644 index 00000000..977d0025 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/tenant/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 多租户功能。 + */ +package com.mybatisflex.core.tenant; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/transaction/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/transaction/package-info.java new file mode 100644 index 00000000..7ac7e797 --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/transaction/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 事务功能。 + */ +package com.mybatisflex.core.transaction; \ No newline at end of file diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/util/package-info.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/util/package-info.java new file mode 100644 index 00000000..6be5bb1f --- /dev/null +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/util/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 工具类。 + */ +package com.mybatisflex.core.util; \ No newline at end of file