mybatis/mybatis-3
Fork: 12595 Star: 19022 (更新于 1970-01-01 00:00:00)
license: Apache-2.0
Language: Java .
MyBatis SQL mapper framework for Java
最后发布版本: mybatis-3.5.14 ( 2023-11-03 14:27:55)
MyBatis SQL Mapper Framework for Java
The MyBatis SQL mapper framework makes it easier to use a relational database with object-oriented applications. MyBatis couples objects with stored procedures or SQL statements using an XML descriptor or annotations. Simplicity is the biggest advantage of the MyBatis data mapper over object relational mapping tools.
Essentials
Contributions
Mybatis-core is now being auto formatted. Given nature of some code logic with mybatis, it is more appropriate to force a formatting structure manually for snippets such as sql statements. To do so, add following blocks around code.
-
// @formatter:off
to start the block of unformatted code -
// @formatter:on
to end the block of unformatted code
If comment sections need same behaviour such as javadocs, note that the entire block must be around entire comment as direct usage does not properly indicate that formatter treats it all as one comment block regardless.
Tests
Mybatis-3 code runs more expressive testing depending on jdk usage and platform.
By default, we set <excludedGroups>TestcontainersTests</excludedGroups>
which will exclude a subset of tests with @Tag('TestcontainersTests'). Further, if pre jdk 16, we will further exclude record classes from executions further reducing tests.
When using jdk 16+, we adjust the rule to <excludedGroups>TestcontainersTests,RequireIllegalAccess</excludedGroups>
.
When we run on ci platform, we further make adjustments as needed. See here for details.
As of 2/20/2023, using combined system + jdk will result in given number of tests ran. This will change as tests are added or removed over time.
without adjusting settings (ie use as is, platform does not matter)
- any OS + jdk 11 = 1730 tests
- any OS + jdk 17 = 1710 tests
- any OS + jdk 19 = 1710 tests
- any OS + jdk 20 = 1710 tests
- any OS + jdk 21 = 1710 tests
our adjustments for GH actions where platform does matter
-
windows + jdk 11 = 1730 tests
-
windows + jdk 17 = 1710 tests
-
windows + jdk 19 = 1710 tests
-
windows + jdk 20 = 1710 tests
-
windows + jdk 21 = 1710 tests
-
linux + jdk 11 = 1765 tests
-
linux + jdk 17 = 1745 tests
-
linux + jdk 19 = 1745 tests
-
linux + jdk 20 = 1745 tests
-
linux + jdk 21 = 1745 tests
-
mac + jdk 11 = 1730 tests
-
mac + jdk 17 = 1710 tests
-
mac + jdk 19 = 1710 tests
-
mac + jdk 20 = 1710 tests
-
mac + jdk 21 = 1710 tests
最近版本更新:(数据更新于 1970-01-01 00:00:00)
2023-11-03 14:27:55 mybatis-3.5.14
2023-03-11 20:15:16 mybatis-3.5.13
2023-03-01 12:17:16 mybatis-3.5.12
2022-09-19 05:22:32 mybatis-3.5.11
2022-05-24 04:35:51 mybatis-3.5.10
2021-12-26 03:16:08 mybatis-3.5.9
2021-12-13 02:19:57 mybatis-3.5.8
2021-04-26 18:49:16 mybatis-3.5.7
2020-10-07 04:57:52 mybatis-3.5.6
2020-06-04 23:39:59 mybatis-3.5.5
主题(topics):
java, mybatis, sql
mybatis/mybatis-3同语言 Java最近更新仓库
2024-12-20 19:54:15 mybatis-flex/mybatis-flex
2024-12-19 21:53:46 spring-projects/spring-boot
2024-12-19 21:25:16 Stirling-Tools/Stirling-PDF
2024-12-19 16:28:14 Tornaco/Thanox
2024-12-19 10:42:01 alibaba/nacos
2024-12-18 20:58:34 dromara/forest