Commit Graph

1963 Commits

Author SHA1 Message Date
Jens Schauder
2be10dd5fd Support for Id generation in Oracle using quoted identifiers.
The latest Oracle JDBC driver properly supports returning of generated ids,
both in batches and for quoted identifiers.

This allows us to now support this feature.

Closes #1666
Original pull request: #1667
2023-11-20 14:46:54 +01:00
Runbing
f07a322e3c Fixed URL to Spring Data Commons documentation.
Fixes an incorrect URL in the `antora.yml` file that was preventing other pages from linking to the Spring Data Commons documentation.

Original pull request #1674
2023-11-20 11:56:27 +01:00
Mark Paluch
ebc15c069d Update CI trigger versions.
See #1642
2023-11-17 14:54:11 +01:00
Mark Paluch
8137d2edd7 After release cleanups.
See #1642
2023-11-17 14:33:56 +01:00
Mark Paluch
cce7499f20 Prepare next development iteration.
See #1642
2023-11-17 14:33:54 +01:00
Mark Paluch
fe6d599d8b Release version 3.2 GA (2023.1.0).
See #1642
2023-11-17 14:29:59 +01:00
Mark Paluch
a311b9a105 Prepare 3.2 GA (2023.1.0).
See #1642
2023-11-17 14:28:30 +01:00
Jens Schauder
42e786ca78 Fix Oracle database setup script.
Changed BIGINT to NUMBER.

See #1656
Original pull request #1663
2023-11-16 20:38:49 +01:00
Jens Schauder
15bb8d1eef Properly convert Map keys.
Keys of maps now get properly converted.
Among others this enables the use of enums as keys.

Closes #1656
Original pull request: #1663
2023-11-16 10:42:15 +01:00
Jens Schauder
f2da860a99 Upgrade Oracle JDBC driver to 23.3.0.23.09.
Closes #1664
2023-11-15 11:15:34 +01:00
Mark Paluch
7f617b15e1 Polishing.
Reformat code.

See #1651
Original pull request: #1662
2023-11-14 11:58:29 +01:00
Jens Schauder
1f3bec7f15 Fix rendering of asterisk projection (table.*) for aliased tables.
Closes #1651
Original pull request: #1662
2023-11-14 11:58:03 +01:00
Mark Paluch
6440f9e6dc Polishing.
Revise aggregatePathCache generics. Reformat code.

See #1657
Original pull request: #1661
2023-11-14 11:45:57 +01:00
Jens Schauder
eae39d4438 AggregatePath caching considers property owner.
Since a PersistencePropertyPath does NOT consider it's owner for equality, this is necessary.
to distinguish different AggregatePath instances based on a inherited property.

Closes #1657
Original pull request: #1661
2023-11-14 11:45:33 +01:00
Mark Paluch
99e51422fd Polishing.
Introduce prefix operator to express queries as Conditions.not(…) as alternative to myCondition.not() (suffix operator) for easier readability.

Reformat code, update copyright years.

See #1653
Original pull request: #1659
2023-11-14 08:39:26 +01:00
Jens Schauder
97b4154318 Properly render NOT condition.
Closes #1653
Original pull request: #1659
2023-11-14 08:39:18 +01:00
Mark Paluch
003531216a Polishing.
Fix line breaks.

See #1647
2023-11-06 10:35:16 +01:00
Mark Paluch
9ffbfb6f99 Improve count and exists query projections.
We now use COUNT(*) and SELECT 1 for count respective exists queries to enable database optimizers instead of using the key columns.

Closes #1647
2023-11-06 10:35:05 +01:00
Mark Paluch
5312731623 Reject Limit parameter using String-based queries.
Document limitations, add test cases for derived queries.

Closes #1654
2023-11-02 09:26:43 +01:00
Jens Schauder
4ceb982197 Clarify that converters are for simple values only.
Closes #1533
2023-10-20 11:58:34 +02:00
Jens Schauder
7a7d3a3e83 Clarify not to map backreferences and key columns.
Closes #504
2023-10-20 11:55:30 +02:00
Jens Schauder
13d4f120f8 Mention usage of SpEL in queries.
Closes #1566
2023-10-20 10:32:20 +02:00
Jens Schauder
09f3ceeb82 Polishing.
See #650
2023-10-20 10:32:20 +02:00
Greg L. Turnquist
7f649c4b66 Migrate from Gradle Enterprise to Develocity.
Gradle Enterprise has been rebranded as Develocity.

See #1645
2023-10-19 10:53:14 -05:00
Greg L. Turnquist
90ee50b867 Polishing.
See #1645
2023-10-19 10:48:34 -05:00
Jens Schauder
fdc85a91ff Explain custom RowMapper and ResultSetExtractor.
Closes #650
2023-10-19 16:42:40 +02:00
Greg L. Turnquist
0ef725f387 Update CI properties.
See #1642
2023-10-19 09:38:57 -05:00
Jens Schauder
6736d8334e Add conversion capabilities to the entity instantiator.
Closes #1646
2023-10-17 16:54:11 +02:00
Jens Schauder
778d368725 Improve documentation about custom conversion registration.
Closes #1625
2023-10-17 13:25:57 +02:00
Jens Schauder
75bb6fe2a8 Set user for CI build in order to get a nice gravatar.
Closes #1645
See spring-projects/spring-data-jpa@f52aa75
See spring-projects/spring-data-jpa#3142
2023-10-17 10:02:17 +02:00
Greg L. Turnquist
8073ccb737 Update CI properties.
See #1642
2023-10-16 13:28:23 -05:00
Jens Schauder
f39c7e0b44 Setup Gradle Enterprise credentials.
See #1643
2023-10-16 11:19:16 +02:00
Eric Haag
7324cacf82 Connect build to ge.spring.io.
This change publishes a build scan to ge.spring.io for every local build from an authenticated Spring committer and for CI where appropriate access tokens are available. The build will not fail if publishing fails.

This change also allows the build to benefit from local and remote build caching, providing faster builds for all contributors.

Additionally, the project will have access to all features of Gradle Enterprise such as:

- Dashboards to view all historical build scans, along with performance trends over time
- Build failure analytics for enhanced investigation and diagnosis of build failures
- Test failure analytics to better understand trends and causes around slow, failing, and flaky tests

Originial pull request #1643
2023-10-16 11:18:17 +02:00
Jens Schauder
28d40b017a Improve documentation for mapping sets.
The documentation now correctly states that the back reference name can by customized via annotation.

Closes #797
2023-10-16 11:01:23 +02:00
Jens Schauder
3c7cbcfeeb Polishing.
Original pull request #1636
2023-10-16 11:01:23 +02:00
Simon Verhoeven
4062237e04 Update readme.
Cleanup.

Original pull request #1636
2023-10-16 11:01:15 +02:00
John Blum
2c0de7b45f After release cleanups.
See #1614
2023-10-13 08:52:01 -07:00
John Blum
b7855d010f Prepare next development iteration.
See #1614
2023-10-13 08:51:59 -07:00
John Blum
74ae9af708 Release version 3.2 RC1 (2023.1.0).
See #1614
2023-10-13 08:44:26 -07:00
John Blum
4c0e10fca7 Prepare 3.2 RC1 (2023.1.0).
See #1614
2023-10-13 08:43:57 -07:00
Jens Schauder
8ba1204b2a Polishing.
Original pull request #1618
See #1554
2023-10-13 11:04:55 +02:00
Mark Paluch
5344197ba6 Fix identifier propagation for no-id list elements.
Original pull request #1618
See #1554
2023-10-13 10:28:30 +02:00
Mark Paluch
5398b94020 Deprecate Basic…Converter infrastructure.
Merge basic converters into Mapping…Converters and introduce deprecated variant to provide guidance for migration off the deprecated types.

Cleanup no longer required code.

Original pull request #1618
See #1554
2023-10-13 10:28:18 +02:00
Mark Paluch
4e3120ee0e Migrate JDBC to use RowDocument for reading aggregates.
Original pull request #1618
See #1554
2023-10-13 10:28:11 +02:00
Mark Paluch
665ae6b5a8 Migrate R2DBC to read RowDocument.
Original pull request #1618
See #1554
2023-10-13 10:27:53 +02:00
Mark Paluch
41b37a6bd8 Add support for multi-level projections using EntityProjection.
We now support multi-level projections by introspecting the result and the domain type and read projections directly into a DTO or a backing map for interface projections.

Original pull request #1618
Closes #1554
2023-10-13 10:26:26 +02:00
Jens Schauder
9c36eb970b Fix MS Sql Server integration tests.
Closes #1638
2023-10-11 15:54:56 +02:00
Jens Schauder
64eeecd1e3 Run integration tests during ci build.
See #1637
2023-10-11 15:18:29 +02:00
Jens Schauder
16ab1c4842 Using verify during the CI build 2023-10-11 15:12:39 +02:00
Jens Schauder
210b63fcb4 Add failsafe:verify goal as an execution.
The failsafe plugin only fails during it's verify goal, not when actually executing the tests.

The goal is by default added to the verify phase.
But for the database tests this adds it to the integration-test phase.
This ensures that the build fail as soon a test for one database fails.

Closes #1637
2023-10-11 13:54:47 +02:00