Commit Graph

2075 Commits

Author SHA1 Message Date
Mark Paluch
d2d3fb8747 Upgrade to Maven Wrapper 3.9.8.
See #1852
2024-08-08 10:23:17 +02:00
Mark Paluch
b88ed1255b Update CI properties.
See #1837
2024-08-08 10:19:20 +02:00
Jens Schauder
a1aabb9efa Add documentation for SpEL support.
Closes #1719
2024-08-07 16:14:11 +02:00
Jens Schauder
a0b10dc6c4 Fix the example for spring version configuration.
Closes #1848
2024-08-05 12:34:41 +02:00
Eric Haag
aded9a39b3 Migrate build to Spring Develocity Conventions extension.
Also adopt Develocity environment variables.

Original pull request #1847
2024-08-05 11:28:30 +02:00
Sanghyuk Jung
72496ba594 Remove duplicated "the" in JavaDoc.
Original pull request #1840
2024-08-02 13:23:15 +02:00
Mark Paluch
933c8db6c5 Bundle Javadoc with Antora documentation site.
Closes #1846
2024-07-31 15:13:04 +02:00
Mark Paluch
94fcdc5cd4 Polishing.
Correctly assign SQL type for tuples.

See #1323
Original pull request: #1838
2024-07-23 13:42:49 +02:00
Mark Paluch
86e5e5aeb1 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:31 +02:00
Jens Schauder
c71cbee6fe Allow passing of tuples to repository query methods.
Closes #1323
Original pull request: #1838
2024-07-22 15:05:31 +02:00
Jens Schauder
65048700cf 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:07 +02:00
Jens Schauder
51e4fc945f Consider sanitised names when copying parameter sources.
Closes #1565
2024-07-17 11:26:07 +02:00
Jens Schauder
a3b8cc5671 Polishing.
Make test methods package private.

See #1565
2024-07-17 11:26:07 +02:00
Jens Schauder
749ce92fa3 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:20:19 +02:00
Jens Schauder
71872554f0 After release cleanups.
See #1818
2024-07-12 19:12:15 +02:00
Jens Schauder
e8e317ccac Prepare next development iteration.
See #1818
2024-07-12 19:12:14 +02:00
Jens Schauder
06fa5f8a60 Release version 3.3.2 (2024.0.2).
See #1818
2024-07-12 19:09:19 +02:00
Jens Schauder
d938d268a1 Prepare 3.3.2 (2024.0.2).
See #1818
2024-07-12 19:09:02 +02:00
Jens Schauder
8ad31368af Fix regression of loading empty arrays.
Closes #1826
See #1812
2024-07-02 15:11:52 +02:00
Jens Schauder
fea01a5c53 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:35:15 +02:00
Jens Schauder
129d489dce Reestablish warning on duplicate column in query.
Closes #1680
Original pull request #1825
2024-07-01 13:35:15 +02:00
Jens Schauder
3e5ab63a78 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:40:34 +02:00
Mark Paluch
dd1c7bee1c Remove Slack notification.
See #1822
2024-06-20 14:52:00 +02:00
Mark Paluch
32763314c8 Switch to Broadcom docker proxy.
Closes #1822
2024-06-20 14:52:00 +02:00
Mark Paluch
9b5004c603 After release cleanups.
See #1790
2024-06-14 10:48:00 +02:00
Mark Paluch
9ec80fac7c Prepare next development iteration.
See #1790
2024-06-14 10:47:59 +02:00
Mark Paluch
31e25012b9 Release version 3.3.1 (2024.0.1).
See #1790
2024-06-14 10:45:40 +02:00
Mark Paluch
0686c1a045 Prepare 3.3.1 (2024.0.1).
See #1790
2024-06-14 10:45:24 +02:00
Jens Schauder
8eca0a7065 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:19:39 +02:00
Mark Paluch
5f425bd4ed Polishing.
Use ObjectUtils.isEmpty for emptiness check.

See #1737
Original pull request: #1812
2024-06-11 10:21:13 +02:00
Jens Schauder
fd66677fcb 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:21:13 +02:00
Paul Jones
4d4d9b5106 Add unit tests to verify DTO projection with AggregationReference.
Closes #1759
2024-06-10 15:16:34 +02:00
Mark Paluch
24a1ec823c 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:10 +02:00
Jens Schauder
e9b4ce3b68 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:10 +02:00
Jens Schauder
416053562c Fix changelog link in README.
Closes #1808
2024-06-06 14:48:32 +02:00
Jens Schauder
9c4ceefb6d Making jsqlparser dependency test only.
Closes #1796
2024-05-31 16:48:29 +02:00
Mark Paluch
a4874dafff Upgrade to SQL Server 2022-latest.
See #1768
2024-05-23 08:48:33 +02:00
Mark Paluch
c93c1d5f28 After release cleanups.
See #1768
2024-05-17 12:05:32 +02:00
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
2317388de1 Prepare 3.3 GA (2024.0.0).
See #1768
2024-05-17 11:49:11 +02:00
Mark Paluch
121d3723d6 Polishing.
Reduce test element visibility.

See #1750
Original pull request: #1785
2024-05-15 14:57:00 +02:00
Mark Paluch
3224b49117 Move AggregateReference converter registration into MappingJdbcConverter.
See #1750
Original pull request: #1785
2024-05-15 14:57:00 +02:00
Jens Schauder
08710d8e16 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:58 +02:00
Paul-Christian Volkmer
6ae53f5577 Remove redundant code
createPersistentEntity(..) effectively only calls the overriden method.
It therefore can be deleted.

Remove error message no longer used.

Original pull request #1783
2024-04-30 09:12:54 +02:00
Mark Paluch
940062816d Polishing.
Fix since version. Update Javadoc. Adjust visibility for subclassing usage.

See #1781
2024-04-29 11:35:40 +02:00
chanhyeong-cho
ea865cafc5 Remove duplicate declaration of document() accessor in RowDocument.
Closes #1781
2024-04-29 11:35:37 +02:00
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