Commit Graph

2082 Commits

Author SHA1 Message Date
Jens Schauder
b6d31326d0 Fix wrongly backported reference.
Closes #1861
2024-08-19 13:24:13 +02:00
albina0104
8c7ae79170 Remove a duplicated sentence from documentation.
Original pull request #1860
2024-08-19 09:49:41 +02:00
Jens Schauder
8211e75198 After release cleanups.
See #1836
2024-08-16 09:01:34 +02:00
Jens Schauder
a11d16538b Prepare next development iteration.
See #1836
2024-08-16 09:01:33 +02:00
Jens Schauder
65aa2138bd Release version 3.2.9 (2023.1.9).
See #1836
2024-08-16 08:58:34 +02:00
Jens Schauder
d68ca85467 Prepare 3.2.9 (2023.1.9).
See #1836
2024-08-16 08:58:12 +02:00
Jens Schauder
ac77d02985 Improve documentation about query construction.
Closes #719
2024-08-08 14:25:05 +02:00
Mark Paluch
1f1e985ced Update CI properties.
See #1836
2024-08-08 10:17:46 +02:00
Mark Paluch
7e10974ec9 Upgrade to Maven Wrapper 3.9.8.
See #1850
2024-08-08 10:17:25 +02:00
Jens Schauder
21eadd99e3 Add documentation for SpEL support.
Closes #1719
2024-08-07 16:14:31 +02:00
Jens Schauder
82cd65bad5 Fix the example for spring version configuration.
Closes #1848
2024-08-05 12:35:02 +02:00
Eric Haag
664e001fdf Migrate build to Spring Develocity Conventions extension.
Also adopt Develocity environment variables.

Original pull request #1847
2024-08-05 11:29:08 +02:00
Sanghyuk Jung
904a71a8a2 Remove duplicated "the" in JavaDoc.
Original pull request #1840
2024-08-02 13:23:34 +02:00
Mark Paluch
5bf4acbdd6 Bundle Javadoc with Antora documentation site.
Closes #1846
2024-07-31 15:13:10 +02:00
Mark Paluch
781e493498 Polishing.
Correctly assign SQL type for tuples.

See #1323
Original pull request: #1838
2024-07-23 13:43:00 +02:00
Mark Paluch
ae75b1dcea Polishing.
Refactor convertAndAddParameter method to writeValue(…) decoupling responsibilities for a clearer value conversion code path. Also, refactor collection conversion to functional callback-style and extend test assertions.

See #1323
Original pull request: #1838
2024-07-22 15:05:36 +02:00
Jens Schauder
11be4cf042 Allow passing of tuples to repository query methods.
Closes #1323
Original pull request: #1838
2024-07-22 15:05:36 +02:00
Jens Schauder
a28f471be1 Run test only on HsqlDb.
JdbcRepositoryEmbeddedIntegrationTests no longer runs for all databases, since it doesn't tests anything specific to differen RDBMSs.
Therefore the test also got renamed.

See #1565
2024-07-17 11:26:57 +02:00
Jens Schauder
9214f9abb2 Consider sanitised names when copying parameter sources.
Closes #1565
2024-07-17 11:26:57 +02:00
Jens Schauder
5916e9f473 Polishing.
Make test methods package private.

See #1565
2024-07-17 11:26:57 +02:00
Jens Schauder
aef780e037 Replaced all usage of catalog with schema.
Catalog was used by mistake.
Spring Data JDBC has no support for multiple catalogs, only for multiple schema.

Closes #1729
2024-07-16 10:24:37 +02:00
Jens Schauder
8e1e060fbf After release cleanups.
See #1817
2024-07-12 13:36:35 +02:00
Jens Schauder
153e7e12c6 Prepare next development iteration.
See #1817
2024-07-12 13:36:34 +02:00
Jens Schauder
bbd28a616d Release version 3.2.8 (2023.1.8).
See #1817
2024-07-12 13:33:06 +02:00
Jens Schauder
c79ee63518 Prepare 3.2.8 (2023.1.8).
See #1817
2024-07-12 13:32:46 +02:00
Jens Schauder
9ce9694dee Fix regression of loading empty arrays.
Closes #1826
See #1812
2024-07-02 15:15:27 +02:00
Jens Schauder
448b6fd617 Use first column in case of duplicate columns.
Also, fallback on column names when label is not present.

See #1680
Original pull request #1825
2024-07-01 13:36:23 +02:00
Jens Schauder
eaaf1257ba Reestablish warning on duplicate column in query.
Closes #1680
Original pull request #1825
2024-07-01 13:36:23 +02:00
Jens Schauder
6f74c0f672 Fix Auditing for embedded fields.
The reason for auditing to not work on embedded fields is that EmbeddedRelationalPersistentProperty and BasicRelationalPersisntentProperty were not considered equal even when they represent the same field.

Note: the fix is somewhat hackish since it breaks the equals contract for EmbeddedRelationalPersistentProperty.

Closes #1694
See 1545e184ef
2024-06-27 10:42:42 +02:00
Mark Paluch
3fdcd1f3ed Remove Slack notification.
See #1822
2024-06-20 14:52:33 +02:00
Mark Paluch
454862c780 Switch to Broadcom docker proxy.
Closes #1822
2024-06-20 14:52:32 +02:00
Mark Paluch
eadaf72846 After release cleanups.
See #1788
2024-06-14 10:06:43 +02:00
Mark Paluch
46bded807e Prepare next development iteration.
See #1788
2024-06-14 10:06:43 +02:00
Mark Paluch
c427894d11 Release version 3.2.7 (2023.1.7).
See #1788
2024-06-14 10:04:22 +02:00
Mark Paluch
107a66b607 Prepare 3.2.7 (2023.1.7).
See #1788
2024-06-14 10:04:06 +02:00
Jens Schauder
2f1d2e81b1 Create one connection pool for Oracle.
We now use one pooled `DataSource` for Oracle.

This should avoid problems with the TNS-Listener, which seems to have a problem with constantly opening and closing connections.

Closes #1815
Original pull request #1816
2024-06-14 09:20:18 +02:00
Mark Paluch
37dcade129 Polishing.
Use ObjectUtils.isEmpty for emptiness check.

See #1737
Original pull request: #1812
2024-06-11 10:24:25 +02:00
Jens Schauder
da6404860d Refine embeddable emptiness checks to consider whether the collection holds entities.
Embedded entities which contain a empty collection of values that aren't entities are now considered empty, if this collection is empty.

Closes #1737
Original pull request: #1812
2024-06-11 10:22:52 +02:00
Paul Jones
b76bd37799 Add unit tests to verify DTO projection with AggregationReference.
Closes #1759
2024-06-10 15:16:38 +02:00
Mark Paluch
6933f411e5 Polishing.
Simplify code. Remove redundant calls.

Reformat code, remove trailing whitespaces, remove duplicate tests.

See #1802
Original pull request: #1810
2024-06-10 11:15:39 +02:00
Jens Schauder
040da7cea8 Fix usage of wrong id value in related selects.
In an aggregate A->B-Collection<C> a select gets executed for loading Collection<C>.
That select used the wrong ID when B had an ID with the same name as A.

This is now fixed.

Closes #1802
Original pull request: #1810
2024-06-10 11:15:39 +02:00
Jens Schauder
d374eeb183 Fix changelog link in README.
Closes #1808
2024-06-06 14:47:58 +02:00
Jens Schauder
59d77e039d Making jsqlparser dependency test only.
Closes #1796
2024-05-31 16:50:00 +02:00
Mark Paluch
8ea261a2d5 After release cleanups.
See #1767
2024-05-17 11:24:38 +02:00
Mark Paluch
01dcae8c85 Prepare next development iteration.
See #1767
2024-05-17 11:24:37 +02:00
Mark Paluch
f676fd0ed7 Release version 3.2.6 (2023.1.6).
See #1767
2024-05-17 11:22:24 +02:00
Mark Paluch
2c81eccb0a Prepare 3.2.6 (2023.1.6).
See #1767
2024-05-17 11:22:00 +02:00
Mark Paluch
61c6fcfd39 Polishing.
Reduce test element visibility.

See #1750
Original pull request: #1785
2024-05-15 14:56:52 +02:00
Mark Paluch
9e8e3ce64e Move AggregateReference converter registration into MappingJdbcConverter.
See #1750
Original pull request: #1785
2024-05-15 14:56:52 +02:00
Jens Schauder
284509a40f Reuse custom converters from AggregateReferenceConverters.
Let the AggregateReference converters now receive also custom converters as delegates.
Remove the ArrayToObjectConverter which just uses the first element of the array from the DefaultConversion service.

This does NOT solve the underlying problem, of having two DefaultConversionServices at work.
One is in the store conversion, one constructed in the AbstractRelationalConverter.
Although it looks like they get merged, the former contains converters, using that ConversionService as a delegate.

Attempts were made to move AggregateReferenceConverters out of the store converters and just register them directly,
but then no custom read/write targets are detected, leading to failed conversions.
The same problem prevents a registration in CustomConversions as a Function<ConversionService, GenericConverter> or similar, which would allow late registration.
The problem here is that custom read/write targets require the function to get evaluated, before custom read/write targets can be determined.

Closes #1750
Original pull request: #1785
2024-05-15 14:56:47 +02:00