Supersedes #37316

Comment From: Chrissyx

Any plans to upgrade H2 2.2 in Spring Boot 2.7, too?

Comment From: wilkinsona

No. Spring Boot 2.7.x is using H2 2.1.x Moving to 2.2.x would not align with our maintenance policy.

Comment From: Chrissyx

What a pity. We're currently on Spring Boot 2.6 and cannot upgrade to 2.7 due to H2 2.1 having this bug: https://github.com/h2database/h2database/issues/3604 ...which was fixed in their 2.2 release.

Comment From: wilkinsona

You can upgrade to H2 2.2 yourself using the h2.version property. We won't do it by default as not everyone will want a new minor of H2 when moving to a new maintenance release of Spring Boot.

Comment From: Chrissyx

We tried that, not with that property but via POM. It did not work, Hibernate seemed to be incompatible.

Comment From: wilkinsona

You can also try upgrading Hibernate too if you want but this sort of incompatibility is why we only make these sorts of upgrades in new minors of Spring Boot.