Commit Graph

2002 Commits

Author SHA1 Message Date
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
3.3.0-M1
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
Mark Paluch eb6303605c Fix interface projection for entities that implement the interface.
Using as with an interface that is implemented by the entity, we no longer attempt to instantiate the interface bur use the entity type instead.

Closes #1690
2023-12-06 15:29:18 +01:00
Mark Paluch 60e22dad7f Add test to verify interface projections through R2dbcEntityTemplate.
See #1690
2023-12-06 10:25:17 +01:00
Mark Paluch fd011ec603 Polishing.
Switch to spaces.

See #1690
2023-12-06 10:23:02 +01:00
Mark Paluch f6fcbd4e6a Apply converters on simple value reads.
We now apply converters for simple value reads ensuring that e.g. Enum converters are applied.

Closes #1689
2023-12-06 09:46:28 +01:00
Mark Paluch 61a145178b Use Converter-based projection for R2DBC repository queries.
Previously, we instantiated the underlying entity. Now, we either read results directly into the result type or use a Map-backed projection.

Closes #1687
2023-12-05 15:46:21 +01:00
Mark Paluch 343569bae0 Create PartTree against the domain type.
We now derive queries against the domain type and no longer using the result type to ensure query mapping and query creation against the domain type.

Closes #1688
2023-12-05 15:09:17 +01:00
Jens Schauder 152fe93bfc Nested tests now get properly executed.
See https://github.com/spring-projects/spring-data-relational/commit/9a00e62fe773748e759fa97b6917bd8ddab65933
See #1681
2023-12-04 12:19:52 +01:00
Jens Schauder 9a00e62fe7 Properly delegate method calls for EscapingParameterSource.
Closes #1681
See #1682
2023-12-01 15:55:47 +01:00
Mark Paluch 40485dda7e Introduce AggregatePath benchmark.
See #1679
2023-11-29 09:48:15 +01:00
Mark Paluch 7d59397968 Reuse TypeInformation during PersistentPropertyPath and PersistentEntity lookups.
We now avoid Class -> TypeInformation conversion if we already have TypeInformation at hand.

Closes #1679
2023-11-29 09:47:57 +01:00
Mark Paluch 5e76f16175 Introduce property for Jenkins user and Artifactory server details.
Closes #1678
2023-11-28 15:36:44 +01:00
Jens Schauder 5342e02b8d Polishing.
Removed tests for circular references since they are not supported by Spring Data Relational.

Closes #1599
See #756, #1600
Original pull request #1629
2023-11-24 13:28:55 +01:00
Evgenii Koba 9136d86ae1 Add support for foreign keys in schema generation within aggregates.
Closes #1599
See #756, #1600
Original pull request #1629
2023-11-24 13:26:04 +01:00
Jens Schauder 8327810f7c Fix documentation of BeforeConvertCallback.
Closes #1673
2023-11-21 11:24:40 +01:00
Jens Schauder e2a7508adc Switch to Testcontainers Oracle Free.
Timeout increased from the default because that cause problems on CI.
Brought SD JDBC now uses `ojdbc11` as R2DBC.

Closes #1665
Original pull request #1668
2023-11-20 15:31:36 +01:00
Mark Paluch 126781f2f8 Polishing.
Reformat code.

See #1666
Original pull request: #1667
2023-11-20 14:46:19 +01:00
Jens Schauder 30961bfa50 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:44:08 +01:00
Runbing 9828b2e72a 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:55:56 +01:00
Mark Paluch 3cca7f8bd7 After release cleanups.
See #1642
2023-11-17 14:33:27 +01:00
Mark Paluch 654daf1237 Prepare next development iteration.
See #1642
2023-11-17 14:33:25 +01:00
Mark Paluch fe6d599d8b Release version 3.2 GA (2023.1.0).
See #1642
3.2.0
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