Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreOn behalf of the team and everyone who has contributed, I am pleased to announce a new milestone for the next Spring Data generation. The second milestone continues delivering new features and refinement mostly around infrastructure themes.
Spring Data is gradually migrating from Spring's Nullability annotations to JSpecify. The following projects are equipped with JSpecify annotations:
Other modules will follow suit.
Apart from JSpecify, Spring Data JPA ships with a few refinements around the QueryEnhancer
and sorting using Specifications.
You can now configure a QueryEnhancerSelector
through @EnableJpaRepositories
to select which QueryEnhancerFactory
(parser and rewrite utility for JPQL and native queries) to use instead of relying on our defaulting and auto-detection of JSqlParser.
With that change, the previously used spring.data.jpa.query.native.parser
flag in spring.properties
has been removed.
A selected set of expressions can now be used with JpaSort.unsafe(…)
together with Specifications. The newly introduced parser for ORDER BY
expressions translates ORDER BY
items to JPA's Criteria API Expressions as much as possible. ORDER BY
parsing can translate simple path expressions, function calls and CASE
clauses. Any more complex ordering items (TREAT
, CAST
, nested queries) should be provided directly to CriteriaQuery
.
Please see the release notes for more details and upgrade instructions.
Thanks to all those who have contributed with issue reports and pull requests.
4.0 M2
- Javadoc - Documentation - Changelog4.0 M2
- Javadoc - Documentation - Changelog4.0 M2
- Javadoc - Documentation - Changelog5.0 M2
- Javadoc - Documentation - Changelog8.0 M2
- Javadoc - Documentation - Changelog5.0 M2
- Javadoc - Documentation - Changelog4.0 M2
- Javadoc - Documentation - Changelog5.0 M2
- Javadoc - Documentation - Changelog4.0 M2
- Javadoc - Documentation - Changelog6.0 M2
- Javadoc - Documentation - Changelog6.0 M2
- Javadoc - Documentation - Changelog4.0 M2
- Javadoc - Documentation - Changelog