Commit Graph

1990 Commits

Author SHA1 Message Date
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 9a00e62fe7
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
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