Repository navigation
chore(deps): bump org.mybatis:mybatis from 3.5.19 to 3.6.0 - #88
Merged
Merged
Conversation
Test scope only: MyBatis backs the two e2e tests that simulate a consumer bundling MyBatis on the host. Nothing ships in the published jar or POM. 3.6.0 requires Java 11 (toolchain is 21) and changes type handler resolution to use java.lang.reflect.Type, constructor auto-mapping, and <choose> validation. The tests use a plain resultType="int" count query, so none of these apply. It also fixes an ErrorContext ThreadLocal leak in lazy loading, which lines up with the classloader-reclaim test. mybatis-spring stays at 3.0.4 and works with 3.6.0 in these tests. Verified locally: bootJar then test, 599 tests, 0 failures, 0 skipped. Related: #87 Co-Authored-By: htjulia <htjulia1@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bump
org.mybatis:mybatisfrom 3.5.19 to 3.6.0 (test scope). Supersedes #87, which proposed the same one-line change; this PR carries the release-note review and the local verification.Release-note review (3.5.19 → 3.6.0)
testImplementationonly. MyBatis backsMyBatisModuleTestandMyBatisScanModuleTest, the e2e tests that simulate a consumer bundling MyBatis on the host. Nothing ships in the published jar or POM.Type, notClass(Resolve type handler based onjava.lang.reflect.Typeinstead ofClassand respect runtime JDBC type mybatis/mybatis-3#3379).javaTypehas not (or partially) been specified, determine the best matching constructor mybatis/mybatis-3#3378).<choose>now throw.SELECT COUNT(*)withresultType="int".ErrorContextThreadLocal leak in lazy loading is closed. This lines up withmybatis_module_classloader_reclaimable_after_undeploy.Local verification
./gradlew clean bootJar ./gradlew testgradle clean bootJarassemblesgradle testpasses: 599 tests, 0 failures, 0 errors, 0 skipped-boot.jarpresent, Docker up, 0 skipped)testRuntimeClasspathshowsorg.mybatis:mybatis:3.6.0