Greg L. Turnquist

Greg L. Turnquist

Alumni
Blog posts by Greg L. Turnquist

Spring Data 2023.0-RC1 and Service Releases 2022.0.5 & 2021.2.11 released

Releases | April 14, 2023 | ...

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 enhancements to the Spring Data JPA Hibernate and JPQL parsers to better support aliases and other aspects of query parsing for @Query annotated queries.

Spring Data JPA introduces query parser!

Engineering | March 21, 2023 | ...

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:

interface SampleRepository extends CrudRepository<Employee, Long> {

    @Query("select e from Employee e where e.firstName = :firstName")
    List<Employee> findCustomEmployees(String firstName, Sort sort);

}

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"))

Spring WS Samples upgraded for Spring Boot 3.0!

Engineering | December 02, 2022 | ...

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…

Spring Web Services 4.0.0 is now GA

Releases | November 21, 2022 | ...

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…

Spring Web Services 4.0.0-RC1 is out!

Releases | October 18, 2022 | ...

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…

Ever wanted to rewrite a query in Spring Data JPA?

Engineering | May 02, 2022 | ...

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

public interface MyRepository extends JpaRepository<User, Long> {

    @Query(value…

Spring Data 2022.0.0-M3, 2021.2.0-M4, 2021.1.3, and 2021.0.10 released

Releases | March 21, 2022 | ...

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 train. Spring Boot 3.0.0-M2 will pick up this release. We have summarized the new and noteworthy changes in our 2022.0 release notes

Spring Web Services 3.1.1 is out!

Releases | May 20, 2021 | ...

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 Spring Framework 5.3.7.

  • #1187 - Upgrade to Spring Security 5.5.0.

  • #1199 - Don’t skip main build targets during releases.

Spring Web Services Samples have been updated!

Engineering | August 10, 2020 | ...

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…

Spring HATEOAS 1.1.1.RELEASE is out!

Releases | July 30, 2020 | ...

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, hence we’ve deprecated its support. If you’re starting a new hypermedia-driven project, our recommendation is to use RFC-7807’s application/problem+json format instead. The API is more elegant and more importantly, under active development. And we’ve made some fixes based on community feedback.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all