On behalf of the team, I’m pleased to announce the availability of the first Release Candidate of the Spring Data 2023.0 release train as well as service releaes 2022.0.5 & 2021.2.11. These releases ship with improvements, including fixes for regressions. The upcoming Spring Boot 3.0.6 and 2.7.11 releases are going to pick up the service releases for your convenience. New features included in 2023.0.0 RC1 are amongst others: MariaDB support for Spring Data R2DBC has been reinstated. Spring Data MongoDB introduces an @Hint annotation as well as support for reactive bulk operations. Many…
The Problem One of Spring Data JPA’s handy features is letting you plugin in custom JPA queries through its @Query annotation. This allows some flexiblity because you are still able to offer sort parameters to the consumers of your app. Check out the example below: Spring Data JPA will turn this custom query into a JPA query when provided not just with a criteria (firstName) but also a custom sort via findCustomEmployees("Alice", Sort.by("lastName")), into the following fully fledged query: On top of that, Spring Data JPA supports paging, which requires the ability to count result sets. In the…
With the recent announcement of Spring Boot 3.0 going GA, some of you may be interested in upgrading your Spring Web Services-based applications to take full advantage of this. The Spring WS team has upgraded our set of sample apps to help you carry that out. The main branch now tracks the version of samples with all these updates. (The prior version of samples built on Spring Boot 2.7 are now on that repository’s 1.0.x branch.) Some of the highlights are covered below. A LOT of our tools have moved! Back in the olden days, much of our XML processing tools were inside the JDK. But ever since…
Greetings Spring community, The Spring Web Services team has released 4.0.0 for general availability. This is the version of Spring WS you’ll need if you are building SOAP-based applications with Spring Boot 3.0. 4.0.x is the generation of Spring Web Services that works with Jakarta EE 9+, the version where the enterprise specs (JAX-WS, etc.) migrate from javax. to jakarta. package prefixes. Check out Juergen Holler’s blog post for more details about Spring Framework 6.0. Being based upon Spring Framework 6.0, this is also the generation of Spring Web Services that is rebased on top of Java 1…
Greetings Spring community, The Spring Web Services team has released 4.0.0-RC1. This is the last planned release candidate that supports Spring Boot 3.0. The final GA release is coming next month in anticipation of Spring Boot 3.0 going GA. 4.0.x is the generation of Spring Web Services that works with Jakarta EE 9, the version where the enterprise specs (JAX-WS, etc.) migrate from javax. to jakarta.. See Juergen Holler’s blog post for more details about that. Being based upon Spring Framework 6.0, this is also the generation of Spring Web Services that is rebased on top of Java 17 (LTS). So…
Sometimes, no matter how many features you try to apply, it seems impossible to get Spring Data JPA to apply every thing you’d like to a query before it is sent to the EntityManager. With 3.0.0-SNAPSHOT (and targeted for the next milestone release train of Spring Data), you now have the ability to get your hands on the query, right before it’s sent to the EntityManager and "rewrite" it. That is, you can make any alterations at the last moment. Check it out below: Example 1. Declare a QueryRewriter using @Query This pure SQL query (thanks to nativeQuery) will get routed through yet-to-be…
On behalf of the team, I’m pleased to announce Spring Data service releases 2021.1.3 and 2021.0.10.
Both releases ship with mostly bug fixes and dependency upgrades.
For your convenience, Spring Boot 2.6.5 respective 2.5.11 are going to pick up these releases in the upcoming days. Along with the service releases, we released the next milestone 2021.2.0-M4 of the 2021.2 release train. Spring Boot 2.7.0-M3 will pick up this release soon. We have summarized the new and noteworthy changes in our 2021.2 release notes. We have also released the next milestone 2022.0.0-M3 of the 2022.0 release…
Greetings Spring community, The Spring Web Services team has released 3.1.1. This is the first major release under the new versioning schema. Releases will no longer have .RELEASE and snapshots will only be -SNAPSHOT, to better comply with community approaches. While we strive to maintain alignment with Spring Framework and Spring Security, we also test against Java 8, Java 11, and Java LATEST (JDK 16 as of today). For more details, read the following release notes for each version: Release Notes - Spring Web Services - Version 3.1.1. #1198 - Test against JDK 16 on CI. #1197 - Upgrade to…
Dear Spring community, Spring Web Services Samples (spring-ws-samples) has been upgraded! You might have known this, but many parts of this collection of samples goes all the way back to 2006. Today, I am happy to report it has been updated in a multitude of ways. Introduction to Spring Boot Introduction to Spring Data Removal of outdated technologies Removal of redundant samples This was a hard-won task that took me several weeks, but based on the incredible persistence of SOAP, it was something that had to be done to serve the Spring community. Introduction to Spring Boot One of the biggest…
Dear Spring community, Spring HATEOAS 1.1.1.RELEASE is out, the first patched release of the latest stable line, supporting Spring Boot 2.3. Among many things, you’ll find: We are now listing community-led efforts to implement other media types. JSON:API and Siren are the latest. You want to add another media type? Just check out the details. VndErrors is a media type for reporting, well, errors. And it has had a sneaky bug that crept in that we’ve now patched. "logref" values are no longer confined to integers. It’s important to also note that the VndErrors spec is showing no signs of life…