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 ``` 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/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 148f4578..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 @@ -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 BACK_QUOTE = 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; /** * 前缀 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; 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() { 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