Commit Graph

432 Commits

Author SHA1 Message Date
Mark Paluch
d0e43be314 Polishing.
Refine assignment flow and use early returns where possible. Cache empty MapSqlParameterSource. Reduce dependency on RelationalMappingContext using a lower-level abstraction signature. Simplify names. Use default value check from Commons. Fix log warning message. Add missing since tags.

Remove superfluous annotations and redundant code. Tweak documentation wording.

Closes #2003
Original pull request: #2005
2025-04-09 10:31:15 +02:00
Mark Paluch
a38ae7743d Prepare 3.5 M2 (2025.0.0).
See #1996
2025-03-14 09:30:46 +01:00
Jens Schauder
a7a9fbca5d Polishing.
Refining documentation.

Original pull request #2008
2025-03-10 15:20:17 +01:00
mipo256
1c15a8bade Clarify lack of @Lock support for String-based queries.
Original pull request #2008

Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>

Commit message edited.
2025-03-10 15:19:19 +01:00
Mark Paluch
bc3ead226a Prepare 3.5 M1 (2025.0.0).
See #1942
2025-02-14 12:22:20 +01:00
Jens Schauder
8c017fc56b Polishing.
Reference issues in tests comments.
Removed `DisabledOnDatabase`
IdGeneration default methods related to sequence generation are now internally consistent.
Formatting and naming.
IdGeneration offers simple support by default.
Fix exception in oracle integration test setup
Use SqlIdentifier for sequence names
Remove SEQUENCE id source
Added documentation

See #1923
Original pull request #1955
2025-02-05 08:53:32 +01:00
Jens Schauder
ece981f9f1 Ignore collection like attributes for query by example.
Collection valued attributes now get ignored.
Before RelationalExampleMapper tried to generate predicates for these, resulting in invalid SQL.

Closes #1969
2025-01-13 12:09:40 +01:00
Jens Schauder
e4ba477036 Fix indentation in code examples.
Fixes the indentation to 4 characters in all code examples in *.adoc files that so far used tabs.

Original pull request #1948
2024-11-25 14:41:49 +01:00
Jens Schauder
e651a565a1 Fix indentation in code examples.
Fixes the indentation to 4 characters in all code examples in *.adoc files.

Original pull request #1948
2024-11-25 14:35:33 +01:00
fResult
3143eaaf12 Fix indent from 2 to 4 spaces in the Mapping page.
- `Customized Object Construction` section
- `Registering Spring Converters with the \'JdbcConverter\'` section

Original pull request #1948
2024-11-25 14:34:41 +01:00
Jens Schauder
c77a59f3ac Fix reference to custom converters.
The reference was both broken and somehow got moved to the wrong place.

Closes #1949
2024-11-25 13:20:50 +01:00
Mark Paluch
d08f90d715 Prepare 3.4 GA (2024.1.0).
See #1916
2024-11-15 14:10:37 +01:00
Roland Weisleder
52fdadde44 Fix typo in documentation.
Original pull request #1918
2024-10-22 09:59:37 +02:00
Mark Paluch
b771f3b6d4 Prepare 3.4 RC1 (2024.1.0).
See #1883
2024-10-18 12:46:45 +02:00
Jens Schauder
41fee5f225 Prepare 3.4 M1 (2024.1.0).
See #1791
2024-09-13 12:39:15 +02:00
Jens Schauder
f937738038 Support for table names in SpEL expressions.
SpEL expressions in queries get processed in two steps:

1. First SpEL expressions outside parameters are detected and processed.
This is done with a `StandardEvaluationContext` with the variables `tableName` and `qualifiedTableName` added.
This step is introduced by this commit.

2. Parameters made up by SpEL expressions are processed as usual.

Closes #1856
Original pull request #1863
2024-09-04 10:04:55 +02:00
Jens Schauder
848ffee253 Remove deprecated code.
Original pull request #1869
2024-08-30 13:28:01 +02:00
albina0104
53e6447f38 Remove a duplicated sentence from documentation.
Original pull request #1860
2024-08-19 09:48:44 +02:00
Jens Schauder
0da3401e42 Add documentation for JdbcAggregateTemplate.
Closes #1841
Original pull request #1854
2024-08-14 15:16:43 +02:00
Jens Schauder
c91d3bd529 Improve documentation about query construction.
Closes #719
2024-08-08 14:24:16 +02:00
Jens Schauder
47c2917989 Add documentation for SpEL support.
Closes #1719
2024-08-07 16:11:25 +02:00
Jens Schauder
9deadf64d0 Fix the example for spring version configuration.
Closes #1848
2024-08-05 12:34:16 +02:00
Mark Paluch
122c51fb90 Bundle Javadoc with Antora documentation site.
Closes #1846
2024-07-31 15:12:34 +02:00
Mark Paluch
2317388de1 Prepare 3.3 GA (2024.0.0).
See #1768
2024-05-17 11:49:11 +02:00
Jens Schauder
500f504496 Fix typo in documentation example.
Closes #1782
2024-04-29 11:35:34 +02:00
Mark Paluch
e2496c7e19 Prepare 3.3 RC1 (2024.0.0).
See #1754
2024-04-12 10:50:28 +02:00
Aaron Paterson
5a3ceb200d Small documentation fix.
Improve grammar.
Remove redundant line.

Original pull request #1765
2024-04-11 09:20:49 +02:00
Vitalii Mahas
7a1ffb9407 Fix typo ignoreing -> ignoring
Original pull request #1756
2024-04-03 12:06:07 +02:00
Mark Paluch
0270ef239f Prepare 3.3 M2 (2024.0.0).
See #1742
2024-03-15 11:07:10 +01:00
Mourjo Sen
69e6872507 Grammatical improvement in documentation.
This fixes a minor grammatical error.

Closes #1746
2024-03-04 15:18:00 +01:00
Christoph Strobl
ba7ceba904 Prepare 3.3 M1 (2024.0.0).
See #1672
2024-02-16 14:37:01 +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
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
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
a311b9a105 Prepare 3.2 GA (2023.1.0).
See #1642
2023-11-17 14:28:30 +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
Jens Schauder
fdc85a91ff Explain custom RowMapper and ResultSetExtractor.
Closes #650
2023-10-19 16:42:40 +02:00
Jens Schauder
778d368725 Improve documentation about custom conversion registration.
Closes #1625
2023-10-17 13:25:57 +02:00
Jens Schauder
28d40b017a Improve documentation for mapping sets.
The documentation now correctly states that the back reference name can by customized via annotation.

Closes #797
2023-10-16 11:01:23 +02:00
John Blum
4c0e10fca7 Prepare 3.2 RC1 (2023.1.0).
See #1614
2023-10-13 08:43:57 -07:00
Mark Paluch
a72bf1a65d Polishing.
Delegate BatchJdbcOperations calls to NamedParameterJdbcOperations. Refine since and deprecation tags.

See #1616
2023-10-11 09:54:44 +02:00
Jens Schauder
9e41d25d15 Support Single Query Loading for aggregates with more than one collection.
Closes #1448
Original pull request: #1622
2023-09-27 10:04:55 +02:00
Mark Paluch
3b9e0626da Prepare 3.2 M3 (2023.1.0).
See #1592
2023-09-15 15:06:53 +02:00
Mark Paluch
5fd9951060 Fix links to spring.io docs.
Closes #1571
2023-09-13 15:08:04 +02:00
Mark Paluch
c50942a2a8 Polishing.
Use dynamic copyright year for docs.

See #1597
2023-09-11 09:00:00 +02:00
Mark Paluch
24d3584488 Polishing.
Update documentation URL.

See #1597
2023-09-08 11:57:17 +02:00