Commit Graph

2228 Commits

Author SHA1 Message Date
Jens Schauder
500f504496 Fix typo in documentation example.
Closes #1782
2024-04-29 11:35:34 +02:00
Jens Schauder
21e8d9a4fa Remove check for constructor parameter names.
For Kotlin constructors and possibly others parameters maybe unnamed and still work with our infrastructure.

Closes #1762
2024-04-24 12:16:27 +02:00
Jens Schauder
dafe448408 Polishing.
Add author tags.

See #1721
Original pull request #1722
2024-04-23 12:05:23 +02:00
Mark Paluch
49ddface0b Performance improvements.
Introduce caching for configured RowMapper/ResultSetExtractor.

We now create RowMapper/ResultSetExtractor instances only once if they are considered static configuration.
A configured RowMapper ref/class is always static.
A configured ResultSetExtractor ref/class is static when the extractor does not accept a RowMapper or if the RowMapper is configured.

Default mappers or projection-specific ones require ResultSetExtractor recreation of the ResultSetExtractor is configured as Class.

Reuse TypeInformation as much as possible to avoid Class -> TypeInformation conversion.
Introduce LRU cache for DefaultAggregatePath to avoid PersistentPropertyPath lookups.
Introduce best-effort quoted cache for SqlIdentifier to avoid excessive string object creation.

Closes #1721
Original pull request #1722
2024-04-23 12:05:23 +02:00
Jens Schauder
8a94345a7a Fix access of root property instead of child property.
When the child of a one-to-one relationship has an id, the value for that id gets read in the wrong way.
We get the column name for that id use that to access the value in the RowDocument.

This results in either no value at all being found or even worse, the value of a root entity with a property of same name being accessed.

This is fixed by using the full AggregatePath instead of just the property for accessing that value.

Closes #1684
Original pull request: #1775
2024-04-22 09:28:07 +02:00
Jens Schauder
30e4ddd2e6 Fix loading of 2nd level collections.
Construction of the back reference assumed that the table holding the parent of the foreign key is the actual parent property.
This is now corrected by using the correct API to identify the ancestor which holds the id.

Closes: #1692
Original pull request: #1773
2024-04-18 10:26:50 +02:00
Mark Paluch
1a9701859e After release cleanups.
See #1754
2024-04-12 10:53:00 +02:00
Mark Paluch
58d2e92327 Prepare next development iteration.
See #1754
2024-04-12 10:52:59 +02:00
Mark Paluch
39d130c092 Release version 3.3 RC1 (2024.0.0).
See #1754
2024-04-12 10:50:42 +02:00
Mark Paluch
e2496c7e19 Prepare 3.3 RC1 (2024.0.0).
See #1754
2024-04-12 10:50:28 +02:00
Mark Paluch
a38b85c7fb Align OffsetScrolling to zero-based indexes.
Closes #1764
2024-04-11 09:58:02 +02:00
Aaron Paterson
5a3ceb200d Small documentation fix.
Improve grammar.
Remove redundant line.

Original pull request #1765
2024-04-11 09:20:49 +02:00
Mark Paluch
ae272e2a1e Align OffsetScrolling to zero-based indexes.
Closes #1764
2024-04-10 16:11:58 +02:00
Mark Paluch
ad8ca20438 Upgrade to R2DBC Postgresql 1.0.5.RELEASE.
Closes #1763
2024-04-10 15:47:16 +02:00
Vitalii Mahas
7a1ffb9407 Fix typo ignoreing -> ignoring
Original pull request #1756
2024-04-03 12:06:07 +02:00
Mark Paluch
1056031f13 After release cleanups.
See #1742
2024-03-15 11:09:59 +01:00
Mark Paluch
2561b1e44c Prepare next development iteration.
See #1742
2024-03-15 11:09:58 +01:00
Mark Paluch
a87df99a20 Release version 3.3 M2 (2024.0.0).
See #1742
2024-03-15 11:07:32 +01:00
Mark Paluch
0270ef239f Prepare 3.3 M2 (2024.0.0).
See #1742
2024-03-15 11:07:10 +01:00
Jens Schauder
1600740fb7 Polishing.
Code formatting.
Adding author tags.
Added test for jdbc.
Fixed typo.

See #1744
Original pull request #1745
2024-03-13 09:43:45 +01:00
七夜
4a787171e3 Support conversion of elements in NOT_IN clause.
Closes #1744
Original pull request #1745
2024-03-13 09:43:44 +01:00
Mark Paluch
bba8dc291a Upgrade to Netty 4.1.107.Final.
Closes #1749
2024-03-11 09:25:13 +01:00
Eric Haag
48754f96ea Update Revved up by Develocity badge.
Closes #1724
2024-03-04 15:19:37 +01:00
Mourjo Sen
69e6872507 Grammatical improvement in documentation.
This fixes a minor grammatical error.

Closes #1746
2024-03-04 15:18:00 +01:00
Mark Paluch
3b7da898a7 Fix Javadoc build.
Remove package-info for package without sources. Remove ci profile from initial build steps to avoid duplicate tasks. Remove unused asciidoctor plugin.

See #1742
2024-02-20 09:32:23 +01:00
Christoph Strobl
93b22db8f7 After release cleanups.
See #1672
2024-02-16 14:41:26 +01:00
Christoph Strobl
3721876951 Prepare next development iteration.
See #1672
2024-02-16 14:41:24 +01:00
Christoph Strobl
08a9b5ae74 Release version 3.3 M1 (2024.0.0).
See #1672
2024-02-16 14:37:38 +01:00
Christoph Strobl
ba7ceba904 Prepare 3.3 M1 (2024.0.0).
See #1672
2024-02-16 14:37:01 +01:00
Mark Paluch
7ac5c6601b Add support for ValueExpression.
Closes #1738
2024-02-12 16:12:24 +01:00
Mark Paluch
1fbf9a30f0 Adapt to Spring Data Commons changes.
See #1672
2024-02-12 15:59:03 +01:00
Nick
607bef69be Fix documentation grammar.
Replace "significant" with "significantly"

Closes #1731
Original pull request: #1735
2024-02-07 09:06:13 +01:00
Mark Paluch
7336b57f96 Refine Artifactory build name.
See #1672
2024-01-31 15:15:53 +01:00
Mark Paluch
52fe74e3cf Read properties for DTO projections only once.
We now skip property population for properties that are populated through an entity creator (constructor/factory method).

Closes #1725
2024-01-29 09:00:27 +01:00
Mark Paluch
be94f7695c Polishing.
Reformat code.

See #1723
2024-01-25 16:19:09 +01:00
Sebastian Wieland
8e7a1e1e1c Fix R2dbcEntityTemplate.getRowsFetchSpec(…) to use the correct Converter for result type conversion.
Closes #1723
2024-01-25 16:18:35 +01:00
Mark Paluch
e5fdcf2909 Upgrade to R2DBC Postgresql 1.0.4.RELEASE.
Closes #1716
2024-01-10 10:14:06 +01:00
Mark Paluch
a24bafd88b Polishing.
Add Geometry super-type only as subtypes are considered simple types already. Ensure reflective simple type AOT registration.

Original pull request: #1713
See #1711
2024-01-08 13:39:23 +01:00
Pete Setchell
ebdbe047d4 Consider JTS geometry types as simple types.
Original pull request: #1713
Closes #1711
2024-01-08 13:39:18 +01:00
Mark Paluch
5647835c94 Consider registered converters using Row and RowDocument as source.
We now consider converters for RowDocument. Additionally, we reinstated conversion from R2DBC's Row type into entities as that converter functionality got lost during the converter revision.

Closes #1710
2024-01-04 15:00:45 +01:00
Jens Schauder
5eb15d0703 Fix documenation.
Replace the deprecated `NamingStrategy.getReverseColumnName(PersistentPropertyPathExtension path)` with `getReverseColumnName(RelationalPersistentEntity<?> owner)`

Closes #1693
2024-01-04 09:28:10 +01:00
Mark Paluch
fbc3bf09e1 Extend license header copyright years to 2024.
See #1709
2024-01-02 14:42:28 +01:00
Mark Paluch
f3a5b276ba Update CI properties.
See #1672
2023-12-14 08:50:33 +01:00
Mark Paluch
4b19def0ac Upgrade to Maven Wrapper 3.9.6.
See #1700
2023-12-14 08:40:48 +01:00
Mark Paluch
95d3b63b10 Polishing.
Remove duplicate and unused code.

See #1695
2023-12-14 08:14:01 +01:00
Mark Paluch
04bf61598e Wrap associations in EmbeddedRelationalPersistentEntity.
We now also wrap associations to ensure embedded prefix propagation.

Closes #1695
2023-12-14 08:14:00 +01:00
Mark Paluch
a40dbc9f51 Recursively check embedded property loading.
Also, avoid falling back into hasValue(…) code path.

See #1676
Original pull request: #1685
2023-12-13 14:25:42 +01:00
Jens Schauder
e7558fa791 Fix loading of nested embedded entities.
Closes #1676
Original pull request: #1685
2023-12-13 14:25:30 +01:00
Mark Paluch
bb1e62f56a Consider io.r2dbc.spi.Parameter as simple type.
We now consider R2DBC's Parameter as simple type to avoid entity handling.

Closes #1696
2023-12-13 08:35:31 +01:00
Mark Paluch
cc43be8d02 Adopt RelationalParameters and RelationalParameter to reflect the actual parameter type when using generics.
Closes #1691
2023-12-08 12:02:22 +01:00