close

Christoph Strobl

Christoph Strobl

Spring Data Committer

Pregarten, Austria

Blog Posts by Christoph Strobl

Spring Data 2022.0.0-M5 2021.2.2 and 2021.1.6 released

On behalf of the team, I’m pleased to announce the 5th Milestone of Spring Data 2022.0.0 as well as service releases 2021.2.2 and 2021.1.6. The service releases ship with mostly bug fixes and dependency upgrades. One notable upgrade in 2022.0.0-M5 is the move to Hibernate 6.

For your convenience, the next Spring Boot releases are going to pick up 2021.2.2 and 2021.1.6 in the upcoming days. To round things off, here are the links to the individual modules, changelogs, and documentation:

2022.0.0-M5

Read more...

Spring Data 2021.2 and 2022.0 M4 released.

On behalf of the Data Team and everyone who contributed, I’m pleased to announce the GA release of the 2021.2 release train as well as the 4th Milestone of the 2022.0 one.

Already working on the 2022.0 train, based on Spring Framework 6, Java17 and Jakarta EE 9, the 2021.2 release ships bug fixes and selected back ported features.

Other than dependency upgrades, these are some of the major changes:

  • Infrastructure to introspect a projection type.
  • Common infrastructure for property-specific value converters.
  • Improved support for IdClass handling in data-jpa.
  • Declarative Update methods in data-mongodb.
  • Reindexing support in data-elasticsearch.
  • Direct projections for data-cassandra.
  • ACL support for Redis Sentinels.
  • Lock and Null precedence support for JDBC.
  • Query Rewriter for JPA.
Read more...

Spring Data 2021.2.0-RC1, 2021.1.4, and 2021.0.11 released

The 2021.2.0 release train is entering the RC phase. If you haven’t done so yet, please give it a try! The 2021.1.4 and 2021.0.11 service releases ship with mostly bug fixes and dependency upgrades. For your convenience those will be picked up by Spring Boot in the upcoming days.

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

2021.2.0-RC1

Read more...

Spring Data 2021.1 SR1 and 2021.0 SR8 released

On behalf of the team, I’m pleased to announce Spring Data service releases 2021.1.1 and 2020.0.8.
Both releases ship with mostly bug fixes and dependency upgrades.
For your convenience, Spring Boot will pick up the artifacts with its upcoming releases.

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

2021.1.1

Read more...

Spring Data MongoDB - Relation Modelling

MongoDB’s flexible schema allows for multiple patterns when it comes to modeling relationships between entities. Also, for many use cases, a denormalized data model (storing related data right within a single document) might be the best choice, because all information is kept in one place, so that the application requires fewer queries to fetch all data. However, this approach also has its downsides, such as potential data duplication, larger documents, and the maximum document size.

In general, MongoDB recommends using normalized data models when the advantages of embedding are neglected by the implications of duplication. In this blog post, we take a look at the different possibilities of linking documents with manual references and DBRefs when the need occurs to work with relations.

Read more...

Spring Data 2021.0 M4, 2020.0 SR5, Neumann SR7 and Moore SR13 released

On behalf of the team, I’m pleased to announce Spring Data service releases 2020.0 SR5, Neumann SR7, Moore SR13 and the 4th Milestone of the upcoming 2021.0 iteration.

The attentive reader might have noticed that 2021.0 M3 and 2020.0 SR4 have been hiding out of sight. Well, a tiny glitch made us redo those releases right away for an upgrade without surprises.

For your convenience Spring Boot will pick up the artifacts with its upcoming releases.

2021.0 M4

Read more...

Spring Data 2020.0.3 and 2021.0-M2 released

On behalf of the team, I’m pleased to announce a Spring Data double release 2020.0.3 and 2021.0-M2.
The releases include fixes for projection interfaces, vavr integration, time value precision and 3rd party library upgrades. Make sure to check out out individual change logs.

The service release will be picked up by upcoming Spring Boot 2.4.2.

2020.0.3

Read more...

Spring Data 2020.0 - New and Noteworthy in Spring Data Elasticsearch 4.1

Spring Data Elasticsearch is one of the community modules shipped with the 2020.0 release. On behalf of P.J. Meisch, who is doing most of the heavy lifting these days, we’re happy to share his insights on the current release.

The previous release included major overhaul of the internal code structure and the API, whereas the 2020.0 version of Spring Data Elasticsearch focused on fixing bugs and adding functionality.

Altogether there were 23 bugs fixed and 81 other issues resolved. Spring Data Elasticsearch now is built with the actual Elasticsearch version 7.9.3.

Read more...

Spring Data 2020.0 - New and Noteworthy in Spring Data Neo4j 6.0

Spring Data Neo4j is a Spring Data community project that is maintained and developed by Neo4j, Inc. On behalf of the team working on the module at Neo4j, we are happy to share their insights about recent changes and new features shipped with the 2020.0.0 release.

Neo4j users who use Spring Boot 2.3 require special attention because the configuration infrastructure for Spring Data Neo4j 6.0 has changed in an incompatible way.

That said, not only has the configurational infrastructure changed, but the whole project changed.

Read more...

Spring Data 2020.0 - New and Noteworthy in Spring Data MongoDB 3.1

The Spring Data MongoDB 3.1 release is one of the modules that highly benefited from the recent changes in the Spring Data Commons module, by leveraging the infrastructure built there to bring reactive features like auditing and SpEL. The following snippet gives you an impression of what this means for declarative MongoDB queries using SpEL:

@Query("{ 'supervisor' : ?#{ hasRole('ROLE_ADMIN') " +
  "? new Document('$regex', '*') : principal.name } }")
Flux<Person> findAllFilteredByRole();

@EnableReactiveMongoAuditing uses the common infrastructure so you can keep track of changes easily.

Read more...