Repository: micronaut-projects/micronaut-test
Pull request #929 (2024-01-21 22:12:13)

fix(deps): update dependency io.micronaut.sql:micronaut-sql-bom to v5.5.1
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [io.micronaut.sql:micronaut-sql-bom](https://micronaut.io) ([source](https://togithub.com/micronaut-projects/micronaut-sql)) | `5.4.0` -> `5.5.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.micronaut.sql:micronaut-sql-bom/5.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.micronaut.sql:micronaut-sql-bom/5.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.micronaut.sql:micronaut-sql-bom/5.4.0/5.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.micronaut.sql:micronaut-sql-bom/5.4.0/5.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>micronaut-projects/micronaut-sql (io.micronaut.sql:micronaut-sql-bom)</summary>

### [`v5.5.1`](https://togithub.com/micronaut-projects/micronaut-sql/releases/tag/v5.5.1): Micronaut SQL 5.5.1

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### Bug Fixes 🐞

-   fix: don’t leakage Micronaut Validation by [@&#8203;sdelamo](https://togithub.com/sdelamo) in [https://github.com/micronaut-projects/micronaut-sql/pull/1267](https://togithub.com/micronaut-projects/micronaut-sql/pull/1267)

##### Dependency updates 🚀

-   Revert ojdbc version 23.3.0.23.09 back to 21.11.0.0 by [@&#8203;radovanradic](https://togithub.com/radovanradic) in [https://github.com/micronaut-projects/micronaut-sql/pull/1268](https://togithub.com/micronaut-projects/micronaut-sql/pull/1268)

-   fix(deps): update dependency com.microsoft.sqlserver:mssql-jdbc to v12.6.0.jre11 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1252](https://togithub.com/micronaut-projects/micronaut-sql/pull/1252)

-   fix(deps): update managed.vertx to v4.5.3 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1257](https://togithub.com/micronaut-projects/micronaut-sql/pull/1257)

-   fix(deps): update managed.hibernate to v6.4.4.final by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1261](https://togithub.com/micronaut-projects/micronaut-sql/pull/1261)

-   fix(deps): update managed.hibernate to v6.4.3.final by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1253](https://togithub.com/micronaut-projects/micronaut-sql/pull/1253)

-   fix(deps): update managed.jdbi to v3.44.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1249](https://togithub.com/micronaut-projects/micronaut-sql/pull/1249)

-   fix(deps): update managed.jdbi to v3.44.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1262](https://togithub.com/micronaut-projects/micronaut-sql/pull/1262)

##### Micronaut Modules

##### Micronaut Core

-   fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.3.5 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1265](https://togithub.com/micronaut-projects/micronaut-sql/pull/1265)
-   fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.3.4 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1256](https://togithub.com/micronaut-projects/micronaut-sql/pull/1256)

##### Micronaut Test Resources

-   fix(deps): update dependency io.micronaut.testresources:micronaut-test-resources-client to v2.3.3 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1251](https://togithub.com/micronaut-projects/micronaut-sql/pull/1251)

##### Micronaut Cache

-   fix(deps): update dependency io.micronaut.cache:micronaut-cache-bom to v4.2.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1269](https://togithub.com/micronaut-projects/micronaut-sql/pull/1269)

##### Micronaut Logging

-   fix(deps): update dependency io.micronaut.logging:micronaut-logging-bom to v1.2.3 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1260](https://togithub.com/micronaut-projects/micronaut-sql/pull/1260)

##### Micronaut Data

-   fix(deps): update dependency io.micronaut.data:micronaut-data-bom to v4.6.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1264](https://togithub.com/micronaut-projects/micronaut-sql/pull/1264)

##### CI ⚙️Build 🐘

-   chore(deps): update gradle/gradle-build-action action to v3 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1248](https://togithub.com/micronaut-projects/micronaut-sql/pull/1248)
-   Testcontainers via test-resources version catalog by [@&#8203;wetted](https://togithub.com/wetted) in [https://github.com/micronaut-projects/micronaut-sql/pull/1258](https://togithub.com/micronaut-projects/micronaut-sql/pull/1258)

##### Micronaut Gradle Plugin

-   fix(deps): update dependency io.micronaut.gradle:micronaut-gradle-plugin to v4.3.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1255](https://togithub.com/micronaut-projects/micronaut-sql/pull/1255)
-   fix(deps): update dependency io.micronaut.gradle:micronaut-gradle-plugin to v4.3.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1259](https://togithub.com/micronaut-projects/micronaut-sql/pull/1259)

**Full Changelog**: https://github.com/micronaut-projects/micronaut-sql/compare/v5.5.0...v5.5.1

### [`v5.5.0`](https://togithub.com/micronaut-projects/micronaut-sql/releases/tag/v5.5.0): Micronaut SQL 5.5.0

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### Dependency updates 🚀

-   fix(deps): update dependency org.hibernate.reactive:hibernate-reactive-core to v2.2.2.final by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1234](https://togithub.com/micronaut-projects/micronaut-sql/pull/1234)
-   fix(deps): update dependency org.testcontainers:testcontainers-bom to v1.19.4 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1236](https://togithub.com/micronaut-projects/micronaut-sql/pull/1236)
-   fix(deps): update managed.vertx to v4.5.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1242](https://togithub.com/micronaut-projects/micronaut-sql/pull/1242)

##### Micronaut Modules

##### Micronaut Core

-   fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.3.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1232](https://togithub.com/micronaut-projects/micronaut-sql/pull/1232)
-   fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.3.3 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1245](https://togithub.com/micronaut-projects/micronaut-sql/pull/1245)
-   fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.3.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1235](https://togithub.com/micronaut-projects/micronaut-sql/pull/1235)

##### Micronaut Serialization

-   fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.7.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1231](https://togithub.com/micronaut-projects/micronaut-sql/pull/1231)
-   fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.8.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1246](https://togithub.com/micronaut-projects/micronaut-sql/pull/1246)

##### Micronaut data

-   fix(deps): update dependency io.micronaut.data:micronaut-data-bom to v4.6.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1243](https://togithub.com/micronaut-projects/micronaut-sql/pull/1243)
-   fix(deps): update dependency io.micronaut.data:micronaut-data-bom to v4.5.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1226](https://togithub.com/micronaut-projects/micronaut-sql/pull/1226)

##### Micronaut Micrometer

-   fix(deps): update dependency io.micronaut.micrometer:micronaut-micrometer-bom to v5.3.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1229](https://togithub.com/micronaut-projects/micronaut-sql/pull/1229)
-   fix(deps): update dependency io.micronaut.micrometer:micronaut-micrometer-bom to v5.4.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1247](https://togithub.com/micronaut-projects/micronaut-sql/pull/1247)

##### Micronaut Validation

-   fix(deps): update dependency io.micronaut.validation:micronaut-validation-bom to v4.3.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1230](https://togithub.com/micronaut-projects/micronaut-sql/pull/1230)
-   fix(deps): update dependency io.micronaut.validation:micronaut-validation-bom to v4.4.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1244](https://togithub.com/micronaut-projects/micronaut-sql/pull/1244)

##### Micronaut Cache

-   fix(deps): update dependency io.micronaut.cache:micronaut-cache-bom to v4.2.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1233](https://togithub.com/micronaut-projects/micronaut-sql/pull/1233)

##### Micronaut Logging

-   fix(deps): update dependency io.micronaut.logging:micronaut-logging-bom to v1.2.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1228](https://togithub.com/micronaut-projects/micronaut-sql/pull/1228)

##### Micronaut R2DBC

-   fix(deps): update dependency io.micronaut.r2dbc:micronaut-r2dbc-bom to v5.3.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1227](https://togithub.com/micronaut-projects/micronaut-sql/pull/1227)

##### Micronaut Test Resources

-   fix(deps): update dependency io.micronaut.testresources:micronaut-test-resources-client to v2.3.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1240](https://togithub.com/micronaut-projects/micronaut-sql/pull/1240)

##### CI ⚙️Build 🐘

-   chore(deps): update gradle/wrapper-validation-action action to v2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1239](https://togithub.com/micronaut-projects/micronaut-sql/pull/1239)
-   chore(deps): update graalvm/setup-graalvm action to v1.1.6 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1241](https://togithub.com/micronaut-projects/micronaut-sql/pull/1241)

**Full Changelog**: https://github.com/micronaut-projects/micronaut-sql/compare/v5.4.1...v5.5.0

### [`v5.4.1`](https://togithub.com/micronaut-projects/micronaut-sql/releases/tag/v5.4.1): Micronaut SQL 5.4.1

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### Dependency updates 🚀

-   fix(deps): update managed.vertx to v4.5.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1194](https://togithub.com/micronaut-projects/micronaut-sql/pull/1194)
-   fix(deps): update dependency org.mariadb.jdbc:mariadb-java-client to v3.3.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1200](https://togithub.com/micronaut-projects/micronaut-sql/pull/1200)
-   fix(deps): update managed.jdbi to v3.43.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1204](https://togithub.com/micronaut-projects/micronaut-sql/pull/1204)
-   fix(deps): update dependency com.mysql:mysql-connector-j to v8.3.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1214](https://togithub.com/micronaut-projects/micronaut-sql/pull/1214)

##### tomcat-jdbc

-   fix(deps): update dependency org.apache.tomcat:tomcat-jdbc to v10.1.18 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1209](https://togithub.com/micronaut-projects/micronaut-sql/pull/1209)
-   fix(deps): update dependency org.apache.tomcat:tomcat-jdbc to v10.1.17 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1193](https://togithub.com/micronaut-projects/micronaut-sql/pull/1193)

##### Hibernate

-   fix(deps): update managed.hibernate to v6.4.2.final by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1223](https://togithub.com/micronaut-projects/micronaut-sql/pull/1223)
-   fix(deps): update managed.hibernate to v6.4.1.final by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1199](https://togithub.com/micronaut-projects/micronaut-sql/pull/1199)

##### jOOQ

-   fix(deps): update dependency org.jooq:jooq to v3.19.3 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1225](https://togithub.com/micronaut-projects/micronaut-sql/pull/1225)
-   fix(deps): update dependency org.jooq:jooq to v3.19.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1211](https://togithub.com/micronaut-projects/micronaut-sql/pull/1211)
-   fix(deps): update dependency org.jooq:jooq to v3.19.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1201](https://togithub.com/micronaut-projects/micronaut-sql/pull/1201)
-   fix(deps): update dependency org.jooq:jooq to v3.19.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1198](https://togithub.com/micronaut-projects/micronaut-sql/pull/1198)

##### Micronaut Modules

##### Micronaut Core

-   fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.2.3 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1205](https://togithub.com/micronaut-projects/micronaut-sql/pull/1205)
-   fix(deps): update dependency io.micronaut:micronaut-core-bom to v4.2.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1197](https://togithub.com/micronaut-projects/micronaut-sql/pull/1197)

##### Micronaut Serialization

-   fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.5.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1191](https://togithub.com/micronaut-projects/micronaut-sql/pull/1191)
-   fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.5.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1192](https://togithub.com/micronaut-projects/micronaut-sql/pull/1192)
-   fix(deps): update dependency io.micronaut.serde:micronaut-serde-bom to v2.7.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1212](https://togithub.com/micronaut-projects/micronaut-sql/pull/1212)

##### Micronaut Cache

-   fix(deps): update dependency io.micronaut.cache:micronaut-cache-bom to v4.1.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1196](https://togithub.com/micronaut-projects/micronaut-sql/pull/1196)
-   fix(deps): update dependency io.micronaut.cache:micronaut-cache-bom to v4.2.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1217](https://togithub.com/micronaut-projects/micronaut-sql/pull/1217)

##### Micronaut Data

-   fix(deps): update dependency io.micronaut.data:micronaut-data-bom to v4.4.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1195](https://togithub.com/micronaut-projects/micronaut-sql/pull/1195)

##### Micronaut Test

-   fix(deps): update dependency io.micronaut.test:micronaut-test-bom to v4.2.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1218](https://togithub.com/micronaut-projects/micronaut-sql/pull/1218)

##### Micronaut Hibernate Validator

-   fix(deps): update dependency io.micronaut.beanvalidation:micronaut-hibernate-validator to v4.2.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1215](https://togithub.com/micronaut-projects/micronaut-sql/pull/1215)

##### Micronaut Logging

-   fix(deps): update dependency io.micronaut.logging:micronaut-logging-bom to v1.2.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1207](https://togithub.com/micronaut-projects/micronaut-sql/pull/1207)

##### Micronaut Reactor

-   fix(deps): update dependency io.micronaut.reactor:micronaut-reactor-bom to v3.2.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1208](https://togithub.com/micronaut-projects/micronaut-sql/pull/1208)

##### Micronaut Test Resources

-   fix(deps): update dependency io.micronaut.testresources:micronaut-test-resources-client to v2.3.1 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1202](https://togithub.com/micronaut-projects/micronaut-sql/pull/1202)

##### Micronaut Spring

-   fix(deps): update dependency io.micronaut.spring:micronaut-spring-bom to v5.4.0 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1216](https://togithub.com/micronaut-projects/micronaut-sql/pull/1216)

##### CI ⚙️Build 🐘

-   chore(deps): update actions/download-artifact action to v4 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1219](https://togithub.com/micronaut-projects/micronaut-sql/pull/1219)
-   chore(deps): update actions/upload-artifact action to v4 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1220](https://togithub.com/micronaut-projects/micronaut-sql/pull/1220)
-   chore(deps): update actions/cache action to v4 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1221](https://togithub.com/micronaut-projects/micronaut-sql/pull/1221)

##### Micronaut Build Plugin

-   chore(deps): update plugin io.micronaut.build.shared.settings to v6.6.2 by [@&#8203;renovate](https://togithub.com/renovate) in [https://github.com/micronaut-projects/micronaut-sql/pull/1213](https://togithub.com/micronaut-projects/micronaut-sql/pull/1213)

**Full Changelog**: https://github.com/micronaut-projects/micronaut-sql/compare/v5.4.0...v5.4.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm" in timezone Europe/Prague, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/micronaut-projects/micronaut-test).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->


sonarcloud[bot]: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=micronaut-projects_micronaut-test&pullRequest=929) **Quality Gate passed**  
Kudos, no new issues were introduced!

[0 New issues](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=929&resolved=false&inNewCodePeriod=true)  
[0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=micronaut-projects_micronaut-test&pullRequest=929&resolved=false&inNewCodePeriod=true)  
No data about Coverage  
No data about Duplication  
  
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=micronaut-projects_micronaut-test&pullRequest=929)


sonarcloud[bot]: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=micronaut-projects_micronaut-test&pullRequest=929) **Quality Gate passed**  
Kudos, no new issues were introduced!

[0 New issues](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=929&resolved=false&inNewCodePeriod=true)  
[0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=micronaut-projects_micronaut-test&pullRequest=929&resolved=false&inNewCodePeriod=true)  
No data about Coverage  
No data about Duplication  
  
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=micronaut-projects_micronaut-test&pullRequest=929)


sonarcloud[bot]: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=micronaut-projects_micronaut-test&pullRequest=929) **Quality Gate passed**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=micronaut-projects_micronaut-test&pullRequest=929&resolved=false&inNewCodePeriod=true)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=micronaut-projects_micronaut-test&pullRequest=929&resolved=false&inNewCodePeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/no-data-16px.png '') No data about Coverage  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/no-data-16px.png '') No data about Duplication  
  
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=micronaut-projects_micronaut-test&pullRequest=929)



Patch:
diff --git a/gradle.properties b/gradle.properties
index 60f7cbf5..4536bf24 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
-projectVersion=4.2.1-SNAPSHOT
+projectVersion=4.3.0-SNAPSHOT
 projectGroup=io.micronaut.test
 
 title=Micronaut Test
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index e615cdf8..eb8c53bd 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -1,14 +1,14 @@
 [versions]
 micronaut = "4.3.5"
-micronaut-platform = "4.2.3"
+micronaut-platform = "4.3.2"
 micronaut-docs = "2.0.0"
 groovy = "4.0.15"
 
-managed-assertj = "3.25.1"
+managed-assertj = "3.25.3"
 managed-hamcrest = "2.2"
-managed-mockito = "5.9.0"
+managed-mockito = "5.10.0"
 managed-mockk = "1.13.9"
-managed-junit = "5.10.1"
+managed-junit = "5.10.2"
 managed-rest-assured = "5.4.0"
 managed-kotest = "5.8.0"
 managed-spock = "2.3-groovy-4.0"
@@ -16,14 +16,14 @@ managed-spock = "2.3-groovy-4.0"
 kotlin = "1.9.22"
 graal-svm = "23.1.2"
 
-micronaut-test = "4.1.1"
+micronaut-test = "4.2.0"
 micronaut-data = "4.4.1"
-micronaut-hibernate-validator = "4.1.0"
+micronaut-hibernate-validator = "4.2.0"
 micronaut-logging = "1.1.2"
 micronaut-r2dbc = "5.2.0"
-micronaut-serde = "2.7.0"
+micronaut-serde = "2.8.1"
 micronaut-spring = "5.4.1"
-micronaut-sql = "5.4.0"
+micronaut-sql = "5.5.1"
 micronaut-reactor = "3.2.1"
 micronaut-test-resources = "2.3.3"
 


Test patch:
diff --git a/test-core/src/main/java/io/micronaut/test/support/sql/TestSqlAnnotationHandler.java b/test-core/src/main/java/io/micronaut/test/support/sql/TestSqlAnnotationHandler.java
index eadf5c81..4417f55b 100644
--- a/test-core/src/main/java/io/micronaut/test/support/sql/TestSqlAnnotationHandler.java
+++ b/test-core/src/main/java/io/micronaut/test/support/sql/TestSqlAnnotationHandler.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2017-2023 original authors
+ * Copyright 2017-2024 original authors
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -63,27 +63,37 @@ public final class TestSqlAnnotationHandler {
      * @throws IOException If an error occurs reading the SQL
      */
     public static void handle(BeanDefinition<?> specDefinition, ApplicationContext applicationContext, Sql.Phase phase) throws IOException {
-        ResourceLoader resourceLoader = applicationContext.getBean(ResourceLoader.class);
         Optional<List<AnnotationValue<Sql>>> sqlAnnotations = specDefinition
             .findAnnotation(Sql.Sqls.class)
             .map(s -> s.getAnnotations("value", Sql.class));
 
         if (sqlAnnotations.isPresent()) {
-            for (var sql : sqlAnnotations.get()) {
-                if (sql.getRequiredValue("phase", Sql.Phase.class) != phase) {
-                    continue;
-                }
-                List<@NonNull String> scripts = Arrays.asList(sql.stringValues());
-                if (!scripts.isEmpty()) {
-                    Consumer<String> proc = bean(
-                        sql.getRequiredValue("resourceType", Class.class),
-                        sql.getRequiredValue("dataSourceName", String.class),
-                        applicationContext
-                    );
-                    handleScript(resourceLoader, scripts, proc, phase);
-                } else if (LOG.isTraceEnabled()) {
-                    LOG.trace("No SQL scripts found for {} phase", phase);
+            if (!applicationContext.isRunning()) {
+                if (LOG.isWarnEnabled()) {
+                    LOG.warn("Application context has been stopped, skipping SQL script annotations");
                 }
+            } else {
+                processAnnotations(applicationContext, phase, sqlAnnotations.get());
+            }
+        }
+    }
+
+    private static void processAnnotations(ApplicationContext applicationContext, Sql.Phase phase, List<AnnotationValue<Sql>> sqlAnnotations) throws IOException {
+        ResourceLoader resourceLoader = applicationContext.getBean(ResourceLoader.class);
+        for (var sql : sqlAnnotations) {
+            if (sql.getRequiredValue("phase", Sql.Phase.class) != phase) {
+                continue;
+            }
+            List<@NonNull String> scripts = Arrays.asList(sql.stringValues());
+            if (!scripts.isEmpty()) {
+                Consumer<String> proc = bean(
+                    sql.getRequiredValue("resourceType", Class.class),
+                    sql.getRequiredValue("dataSourceName", String.class),
+                    applicationContext
+                );
+                handleScript(resourceLoader, scripts, proc, phase);
+            } else if (LOG.isTraceEnabled()) {
+                LOG.trace("No SQL scripts found for {} phase", phase);
             }
         }
     }
@@ -111,5 +121,4 @@ public final class TestSqlAnnotationHandler {
             }
         }
     }
-
 }
diff --git a/test-junit5/src/test/java/io/micronaut/test/junit5/ApplicationStopTest.java b/test-junit5/src/test/java/io/micronaut/test/junit5/ApplicationStopTest.java
new file mode 100644
index 00000000..86b33586
--- /dev/null
+++ b/test-junit5/src/test/java/io/micronaut/test/junit5/ApplicationStopTest.java
@@ -0,0 +1,27 @@
+package io.micronaut.test.junit5;
+
+import io.micronaut.context.ApplicationContext;
+import io.micronaut.runtime.EmbeddedApplication;
+import io.micronaut.test.extensions.junit5.annotation.MicronautTest;
+import jakarta.inject.Inject;
+import org.junit.jupiter.api.MethodOrderer;
+import org.junit.jupiter.api.Order;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.TestMethodOrder;
+
+import static org.junit.jupiter.api.Assertions.assertFalse;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+@MicronautTest
+class ApplicationStopTest {
+
+    @Inject
+    private ApplicationContext applicationContext;
+
+    @Test
+    void stoppingTheContextDoesntCauseFailures() {
+        applicationContext.stop();
+        assertTrue(true);
+        // should not error
+    }
+}
diff --git a/test-junit5/src/test/java/io/micronaut/test/junit5/SqlDatasourceApplicationStopTest.java b/test-junit5/src/test/java/io/micronaut/test/junit5/SqlDatasourceApplicationStopTest.java
new file mode 100644
index 00000000..8efb7669
--- /dev/null
+++ b/test-junit5/src/test/java/io/micronaut/test/junit5/SqlDatasourceApplicationStopTest.java
@@ -0,0 +1,59 @@
+package io.micronaut.test.junit5;
+
+import io.micronaut.context.ApplicationContext;
+import io.micronaut.context.annotation.Property;
+import io.micronaut.test.annotation.Sql;
+import io.micronaut.test.annotation.TransactionMode;
+import io.micronaut.test.extensions.junit5.annotation.MicronautTest;
+import jakarta.inject.Inject;
+import org.junit.jupiter.api.Test;
+
+import javax.sql.DataSource;
+import java.sql.Connection;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.util.ArrayList;
+import java.util.List;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+@DbProperties
+@MicronautTest(transactionMode = TransactionMode.SINGLE_TRANSACTION)
+@Property(name = "datasources.default.dialect", value = "H2")
+@Property(name = "datasources.default.driverClassName", value = "org.h2.Driver")
+@Property(name = "datasources.default.schema-generate", value = "CREATE_DROP")
+@Property(name = "datasources.default.url", value = "jdbc:h2:mem:devDb;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE")
+@Property(name = "datasources.default.username", value = "sa")
+@Sql({"classpath:create.sql", "classpath:datasource_1_insert.sql"}) // <1>
+class SqlDatasourceApplicationStopTest {
+
+    @Inject
+    ApplicationContext applicationContext;
+
+    @Inject
+    DataSource dataSource;
+
+    @Test
+    void stoppingTheContextDoesntCauseFailures() throws Exception {
+        assertEquals(List.of("Aardvark", "Albatross"), readAllNames(dataSource));
+        applicationContext.stop();
+        assertTrue(true);
+        // should not error
+    }
+
+    List<String> readAllNames(DataSource dataSource) throws SQLException {
+        var result = new ArrayList<String>();
+        try (
+                Connection ds = dataSource.getConnection();
+                PreparedStatement ps = ds.prepareStatement("select name from MyTable");
+                ResultSet rslt = ps.executeQuery()
+        ) {
+            while(rslt.next()) {
+                result.add(rslt.getString(1));
+            }
+        }
+        return result;
+    }
+}