Commit Graph

166 Commits

Author SHA1 Message Date
Mark Paluch
ffe036fdec Prepare next development iteration.
See #1768
2024-05-17 11:51:48 +02:00
Mark Paluch
1516d681d3 Release version 3.3 GA (2024.0.0).
See #1768
2024-05-17 11:49:25 +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
a38b85c7fb Align OffsetScrolling to zero-based indexes.
Closes #1764
2024-04-11 09:58:02 +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
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
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
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
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
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
Mark Paluch
fbc3bf09e1 Extend license header copyright years to 2024.
See #1709
2024-01-02 14:42:28 +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
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
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
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
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
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
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
665ae6b5a8 Migrate R2DBC to read RowDocument.
Original pull request #1618
See #1554
2023-10-13 10:27:53 +02:00
Jens Schauder
88ab6b60ca Remove excludes for maven test execution.
Maven Surefire and Failsafe plugins by default do not run inner classes, no matter if they are `@Nested` or just plain static inner classes.

This change removes this default exclude.

Closes #1627
See https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#excludes
2023-09-28 14:21:03 +02:00
Mark Paluch
a555119f8b Polishing.
Remove Jetbrains annotation usage.

Simplify code, remove code that is commented out, extract methods, pass PersistentEntity as argument instead of creating instances that hold PersistentEntity as field to align the class lifecycle with its contextual usage.

Refactor AggregateReader lifecycle, use a single instance as there is no entity-specific state attached to AggregateReader.

Add Javadoc.

See #1448
Original pull request: #1622
2023-09-27 10:05:16 +02:00
Jens Schauder
f3bc0af8c4 Polishing.
Simplify ValueFunction mapping. Remove invariants of findBy SQL generation in favor of the Condition-based variant. Reduce visibility. Change return value of AggregateReader to List

See #1601
Original pull request: #1617
2023-09-26 14:36:47 +02:00
Jens Schauder
0fdeaebbee Add support for arbitrary where clauses in Single Query Loading.
Closes #1601
Original pull request: #1617
2023-09-26 14:36:46 +02:00
Mark Paluch
813fdf2a31 Prepare next development iteration.
See #1592
2023-09-15 15:06:53 +02:00
Mark Paluch
c8de948d3e Release version 3.2 M3 (2023.1.0).
See #1592
2023-09-15 15:06:53 +02:00
Mark Paluch
bd1c670d55 Add support for fluent limit(int) and scroll(OffsetScrollPosition) to Query by Example queries.
Closes #1609
2023-09-14 08:40:56 +02:00
valery1707
6d1d96681f Remove an extra level in the class hierarchy.
Closes #1574
2023-09-13 15:10:36 +02:00
Mark Paluch
d6d99571b1 Introduce MappingRelationalConverter.
Add sophisticated converter to read aggregates from a RowDocument including support for maps, collections, subdocuments, and embeddables considering registered converters.
Use ResultSetRowDocumentExtractor to extract result multi-sets into RowDocument and then later apply object mapping.

Original pull request #1604
Closes #1586
2023-09-08 16:04:12 +02:00
Mark Paluch
879984d2b6 Polishing.
Push JDBC-specific simple types into JdbcPostgresDialect instead of having these in the top-level dialect that shouldn't be tied to any driver technology.

Introduce profile to run Postgres tests only.
2023-09-06 14:54:09 +02:00