Bootiful Spring Boot 3.4: Spring Data
The release announcement blog does a good job highlighting some of the many features in Spring Data 2024.1. Remember: Spring Data is an umbrella project, aggregating modules supporting, among other things, Couchbase, Redis, MongoDB, JDBC, R2DBC, Neo4J, Apache Cassandra, and countless other data stores. It’s the easiest way to connect your data stores to your applications. And indeed, we could write a small book with all the new features here!
Here are some of the features that caught my eye.
- A new Repository fragments SPI lets any arbitrary
.jar
on the classpath, or indeed code in another package, contribute extensions to the Spring Data repository mechanism via theSpring.factories
service factory mechanism - much-reduced query parsing overhead in Spring Data JPA
- expiration for
@TimeSeries
in Spring Data MongoDB - keyspace qualification for tables and user-defined types in Spring Data for Apache Cassandra
- Refined CQL generation with
CqlGenerator
in Spring Data Cassandra - Jedis Lua scripting support in transaction and pipeline operations in Spring Data Redis
- Customize the
JedisClientConfig
with theJedisClientConfigBuilderCustomizer
…