Jens Schauder

Jens Schauder

Recent Blog posts by Jens Schauder

Spring Data 2021.1.0 goes GA

Releases | November 12, 2021 | ...

On behalf of the team, I’m pleased to announce the availability of the Spring Data 2021.1.0.

These are the most important changes:

  • Upgrade to Querydsl 5.0
  • Support jMolecules' @Identity Annotation for Identifiers
  • Fluent Query API for Querydsl and Query-by-Example
  • Deprecated RxJava 2 Support
  • MongoDB @DocumentReference, schema derivation for encrypted fields, and MongoDB 5.0 Time Series support
  • Redis 6.2 support
  • Support for streaming large result sets in Spring Data JDBC, Projections, and SQL Builder refinements around conditions, JOINs, and SELECT projections
  • Support for Impersonation and support for Querydsl in Neo4j

Spring Data JDBC - How do I implement caching?

Engineering | October 18, 2021 | ...

This is the third article of a series about how to tackle various challenges you might encounter when using Spring Data JDBC.

The series consists of

  1. Spring Data JDBC - How to use custom ID generation.

  2. Spring Data JDBC - How do I make bidirectional relationships?

  3. Spring Data JDBC - How do I implement caching? (this article).

  4. Spring Data JDBC - How Can I Do a Partial Update of an Aggregate Root?

  5. Spring Data JDBC - How do I Generate the Schema for my Domain Model?

If you are new to Spring Data JDBC, you should start by reading its introduction and this article, which explains the relevance of aggregates in the context of Spring Data JDBC

Spring Data JDBC - How do I make Bidirectional Relationships?

Engineering | September 22, 2021 | ...

This is the second article of a series about how to tackle various challenges you might encounter when using Spring Data JDBC. The series consists of

  1. Spring Data JDBC - How to use custom ID generation.

  2. Spring Data JDBC - How do I make bidirectional relationships? (this article).

  3. Spring Data JDBC - How do I implement caching?

  4. Spring Data JDBC - How Can I Do a Partial Update of an Aggregate Root?

  5. Spring Data JDBC - How do I Generate the Schema for my Domain Model?

If you are new to Spring Data JDBC, you should start by reading its introduction and this article, which explains the relevance of aggregates in the context of Spring Data JDBC

Spring Data JDBC - How to use custom ID generation

Engineering | September 09, 2021 | ...

This is the first article of a series about how to tackle various challenges you might encounter when using Spring Data JDBC. The series consists of

  1. Spring Data JDBC - How to use custom ID generation. (this article).

  2. Spring Data JDBC - How do I make bidirectional relationships?

  3. Spring Data JDBC - How do I implement caching?

  4. Spring Data JDBC - How Can I Do a Partial Update of an Aggregate Root?

  5. Spring Data JDBC - How do I Generate the Schema for my Domain Model?

If you are new to Spring Data JDBC, you should start by reading its introduction and this article, which explains the relevance of aggregates in the context of Spring Data JDBC

Spring Data 2021.0.4 and 2020.0.12 released

Releases | August 12, 2021 | ...

On behalf of the team, I’m pleased to announce the availability of the Spring Data2021.0.4 and 2020.0.12 service releases.

Both releases are built on top of Spring Framework 5.3.9. For your convenience, you can consume these releases through Spring Boot 2.5.4 and 2.4.10, respectively. Our teammates on the Boot team will release those in about a week.

The service releases ship with mostly bug fixes and dependency upgrades.

To round things off, here are the links to the artifacts, changelogs, and documentation:

2021.0.4

Spring Data 2021.1.0-M2 released

Releases | August 12, 2021 | ...

On behalf of the team, I’m pleased to announce the availability of the Spring Data 2021.1.0-M2 milestone release.

The release is built on top of Spring Framework 5.3.9. For your convenience, you can consume this release through Spring Boot 2.6.0-M2, which our team mates on the Boot team will release in about a week.

To round things off, here are the links to the artifacts, changelogs, and documentation:

Spring Data 2021.0.3 and 2020.0.11 released

Releases | July 16, 2021 | ...

On behalf of the team, I’m pleased to announce the availability of the Spring Data2021.0.2 and 2020.0.10 service releases.

Both releases are built on top of Spring Framework 5.3.9. For your convenience, you can consume these releases through Spring Boot 2.5.3 and 2.4.9, respectively. Our teammates on the Boot team will release those in about a week.

The service releases ship with mostly bug fixes and dependency upgrades.

To round things off, here are the links to the artifacts, changelogs, and documentation:

2021.0.3

Spring Data 2021.1.0-M1 released

Releases | July 16, 2021 | ...

On behalf of the team, I’m pleased to announce the availability of the Spring Data 2021.1.0-M1 milestone release.

The release is built on top of Spring Framework 5.3.9. For your convenience, you can consume this release through Spring Boot 2.6.0-M1, which our team mates on the Boot team will release in about a week.

The 2021.1 release train ships a set of features and dependency upgrades. The most important changes are:

  • Upgrade to Querydsl 5.
  • Support for a wide range of Redis 6.2 commands.
  • Support for dialect-dependent custom conversions in Spring Data JDBC. This was used to improve the support of java.time types across multiple databases.
  • Support for streaming large result sets in Spring Data JDBC.
  • Support for AggregateReference in query derivation.
  • REF_CURSOR support for stored procedures in Spring Data JPA.
  • Upgrade to MongoDB Driver 4.3 and initial support for MongoDB Server 5.0 Time Series.
  • Spring Data MongoDB comes with extended capabilities for linking documents and offers, next to the existing DBRef approach, a property-based solution that uses simple values, such as the target _id

Spring Data 2020.0 - New and Noteworthy in Spring Data JDBC 2.1

Engineering | November 10, 2020 | ...

As part of the 2020.0.0 version of Spring Data, we released Spring Data JDBC 2.1. This article presents the four most interesting changes in this version.

#Use @Value on Entity Constructor Arguments

In some cases, not all the data that goes into an entity comes from the ResultSet of a query. You now may provide an @Value annotation with a SPeL expression that is evaluated, and the result is passed as an argument upon construction of the…

Migrating to Spring Data JDBC 2.0

Engineering | May 20, 2020 | ...

With Spring Data JDBC 2.0, we had to introduce some breaking changes. The goal of this article is to help in the migration process.

TL;DR

  1. Use the default letter casing for custom column and table names or quote the names for table generation exactly as used in the annotations.

  2. Use AbstractJdbcConfiguration for custom configuration of the application context.

  3. Register a Dialect if necessary.

  4. Review event-handling code and ensure the data you try to use is not null.

Quoting of Identifiers

Spring Data JDBC 1.x uses table and column names mostly without changing them. This causes…

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