Upgrade org.xerial:sqlite-jdbc 3.36.0.3 -> 3.53.2.0 - #203
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
Upgrade org.xerial:sqlite-jdbc 3.36.0.3 -> 3.53.2.0#203devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
No source changes: the app touches SQLite only through JDBC/Flyway/MyBatis; the driver class name org.sqlite.JDBC is unchanged.
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
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
Upgrades the SQLite JDBC driver from a 2021 build to the current release. This is
a version-only change — the app never touches
org.sqlite.*directly (all accessgoes through Flyway, MyBatis and Hikari over plain JDBC), so no source migration
was required.
Version choice:
3.53.2.0(published 2026-06-04) rather than the very latest3.53.2.1(published 2026-07-21, 6 days ago), to respect the "prefer a releasepublished at least 7 days ago" rule.
3.53.2.0is compiled to Java 8 bytecode(major version 52) and is therefore compatible with the Java 11 / Spring Boot
2.6.3 ceiling; no Boot or Flyway bump was needed.
BOM /
extoverrideNone needed. Spring Boot's
spring-boot-dependencies:2.6.3BOM does not manageorg.xerial:sqlite-jdbc. The only competing pin comes transitively from the DGScodegen platform (
{prefer 3.31.1}), which the direct declaration wins over.dependencyInsightevidence./gradlew dependencyInsight --configuration runtimeClasspath --dependency org.xerial:sqlite-jdbctestRuntimeClasspathresolves identically to3.53.2.0. Single version on bothclasspaths — no conflict-resolution downgrade, no split classpath.
API migration
No source changes needed.
grep -rn "org.sqlite" src/matches exactly oneline, the driver class name in
src/main/resources/application.properties(
spring.datasource.driver-class-name=org.sqlite.JDBC), which is unchanged in3.53.x.
spring.datasource.url=jdbc:sqlite:dev.db(andjdbc:sqlite::memory:for tests) and the
clean/bootRundelete './dev.db'hooks contain nothingversion-specific. Only the version literal in
build.gradleand the two stalesqlite-jdbc references in the repo skill doc were touched.
Flyway compatibility (BOM-managed, not bumped)
Flyway stays at the Boot 2.6.3-managed
8.0.5. It detects the new enginecleanly and applies both migrations — no version warning, no conflict, so there
is nothing to report against the "do not bump Flyway" constraint:
Verification gate
JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 ./gradlew clean test spotlessCheck -x jacocoTestCoverageVerification(clean tree, JDK 11 — same JDK as CI)
main@ 3037fa5spotlessCheckBUILD SUCCESSFULBUILD SUCCESSFULCounts aggregated from
build/test-results/test/*.xmlon both runs. Runtimesmoke test beyond the gate:
./gradlew bootRunstarts, recreatesdev.dbwiththe new driver's native library, applies both Flyway migrations, and
GET /tagsreturns200with the seeded tag list.Pre-existing on base, not addressed here
jacocoTestCoverageVerificationfails at 0.33 instruction coverage against the0.80 rule in
build.gradle. Already red on untouchedmain; CI excludes thetask (
./gradlew clean test -x jacocoTestCoverageVerification) and so does thegate above. Threshold untouched, no tests added to game it.
src/test/java/io/spring/selenium) run under the separateseleniumTestTestNG task and are excluded from thetesttask; out of scope.Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/67b38181ed8440ce84806f6bf636bb99
Requested by: @mbatchelor81