Mark Paluch
690488ef99
Prepare 3.0 GA (2022.0.0).
...
See #1361
2022-11-18 14:26:13 +01:00
Levani Kokhreidze
bb23f86d11
Fix jdbc-custom-conversions.adoc Java code snippet alignment.
...
Original pull request #1369
2022-11-16 10:26:28 +01:00
Jens Schauder
5349fde133
Replace New and Noteworthy with links to release notes.
...
Closes #1351
Original pull request #1352
See spring-projects/spring-data-commons#2723
2022-11-10 10:34:31 +01:00
Mark Paluch
e0a5f88b56
Prepare 3.0 RC2 (2022.0.0).
...
See #1366
2022-11-04 15:23:07 +01:00
Mark Paluch
debf0b7563
Prepare 3.0 RC1 (2022.0.0).
...
See #1333
2022-10-13 17:24:05 +02:00
Jens Schauder
d7f2a27ee9
Revised default behaviour for back reference naming.
...
The new default is to take `@Table` annotations into account.
The behaviour can be configured by setting the `foreignKeyNaming` property on the `RelationalMappingContext`.
Closes #1162
See #1147
Original pull request: #1324 .
2022-10-07 09:17:15 +02:00
Jens Schauder
40446f9ca9
The back reference generation is now configurable.
...
The default version is the behavior that existed so far:
The back reference is the table name as generated by the `NamingStrategy` without taking `@Table` annotations into account.
The new alternative is to take `@Table` into account.
The behavior can be configured by setting the `foreignKeyNaming` property on the `RelationalMappingContext`.
Closes #1161
Closes #1147
Original pull request: #1324 .
2022-10-07 09:17:05 +02:00
Jens Schauder
15796b88fe
Fix broken includes in reference documentation.
...
Closes #1349
2022-10-06 14:53:40 +02:00
Jens Schauder
004804aad8
Introduce @InsertOnlyProperty.
...
You may now annotate properties of the aggregate root with `@InsertOnlyProperty`.
Properties annotated in such way will be written to the database only during insert operations, but they will not be updated afterwards.
Closes #637
Original pull request #1327
2022-10-06 12:54:33 +02:00
Christopher Klein
9abaa5a911
Support for SpEL inside @Query annotations.
...
Constructs like the following work now.
```
@Query("select u from User u where u.firstname = :#{#customer.firstname}")
List<User> findUsersByCustomersFirstname(@Param("customer") Customer customer);
```
Closes #619
Original pull request #229
See https://spring.io/blog/2014/07/15/spel-support-in-spring-data-jpa-query-definitions
2022-09-30 12:27:46 +02:00
Spring Builds
2c28684347
Prepare 3.0 M6 (2022.0.0).
...
See #1295
2022-09-19 14:13:05 +00:00
Jens Schauder
09dfbf14a3
Clarify that events and callbacks documentation.
...
Events and callbacks only get triggered for aggregate roots.
Closes #1328
2022-09-14 13:55:30 +02:00
Jens Schauder
bf356f561d
Clarify documentation for @Modifying.
...
Modifying queries are executed directly against the database.
No events or callbacks get called.
Therefore also fields with auditing annotations do not get updated if they don't get updated in the annotated query.
Closes #970
2022-09-08 15:31:17 +02:00
Jens Schauder
7a4143fb50
Changelog removed.
...
Closes #1013
2022-09-08 15:22:46 +02:00
Jens Schauder
fcbecda414
Remove the namespace reference and links to it.
...
Closes #1290
See https://github.com/spring-projects/spring-data-commons/issues/2662
Original pull request #1298
2022-07-26 10:16:02 +02:00
Mark Paluch
d79ba7911f
Allow disabling entity lifecycle events.
...
We now support disabling lifecycle events through the Template API to reduce the framework overhead when events are not needed.
Closes #1291
2022-07-21 09:49:42 +02:00
Christoph Strobl
2a101fea35
Prepare 3.0 M5 (2022.0.0).
...
See #1247
2022-07-15 15:17:58 +02:00
Jens Schauder
27e2aa285a
Documentation for Query By Example.
...
Original pull request #1195
See #1192
2022-07-13 12:54:53 +02:00
Jens Schauder
dcd4ef0cdc
Support readonly properties for references.
...
The `@ReadOnlyProperty` annotation is now honoured for references to entities or collections of entities.
For tables mapped to such annotated references, no insert, delete or update statements will be created.
The user has to maintain that data through some other means.
These could be triggers or external process or `ON DELETE CASCADE` configuration in the database schema.
Closes #1249
Original pull request #1250
2022-05-23 10:42:31 +02:00
Christoph Strobl
fd86f429e7
Prepare 3.0 M4 (2022.0.0).
...
See #1206
2022-05-13 10:43:21 +02:00
Jens Schauder
4353dc8e06
Improve and clarify documentation of callbacks.
...
This also removes deprecated Events and Callbacks.
Closes #1236
2022-05-11 15:45:03 +02:00
Mark Paluch
6ffe53553a
Prepare 3.0 M3 (2022.0.0).
...
See #1205
2022-03-22 14:00:02 +01:00
Chirag Tailor
2ee908c217
Update java and reference doc info on lifecycle events/callbacks.
...
Original pull request #1200
2022-03-22 13:23:42 +01:00
Mark Paluch
cd6e47cae4
Prepare 3.0 M2 (2022.0.0).
...
See #1132
2022-03-21 16:34:38 +01:00
Christoph Strobl
c1c38a71d6
Update copyright year to 2022.
...
See: #1168
2022-02-17 13:56:04 +01:00
Jens Schauder
31dc93a0e2
Polishing.
...
Original pull request #1166
2022-02-15 11:49:01 +01:00
Diego Krupitza
55b6180d12
Added reference documentation for Lock on derived queries.
...
The reference documentation now contains how to use `@Lock` on derived queries and what to expect from it.
Original pull request #1166
2022-02-15 11:49:00 +01:00
Jan Michal
c0cd813f3d
Fix a typo in the docs for query methods.
...
Original pull request #1163
2022-02-15 11:49:00 +01:00
Mark Paluch
b7b1d87603
Prepare 3.0 M1 (2022.0.0).
...
See #1126
2022-01-14 14:34:46 +01:00
조찬형[Plasma]
e637190ee8
Fix broken links in documentation.
...
Closes #954
Original pull request #1109
2021-12-07 10:19:03 +01:00
Jens Schauder
33c8212a58
Prepare 2.3 GA (2021.1.0).
...
See #1070
2021-11-12 10:49:15 +01:00
Jens Schauder
bc164cd4fb
Slightly simplified an example.
...
Removed superfluous `@Autowired` and made the constructor package private.
Closes #1072
2021-11-05 11:32:06 +01:00
Mark Paluch
bf4944b38f
Prepare 2.3 RC1 (2021.1.0).
...
See #1052
2021-10-18 13:47:46 +02:00
Peter Luladjiev
101b3c8d47
Fix typo in Query Methods documentation.
...
Closes #1064
2021-10-13 14:18:16 +02:00
Jens Schauder
3cd25ee01f
Introducing AfterConvertCallback/Event.
...
This is to replace the AfterLoadCallback/Event in order to match the naming of other store modules.
AfterLoadCallback/Event is still in place for now, but deprecated.
Closes #1053
Original pull request: #1060 .
2021-10-01 10:33:59 +02:00
Mark Paluch
fcbce58f9a
Prepare 2.3 M3 (2021.1.0).
...
See #1026
2021-09-17 09:44:34 +02:00
Andrei Bocan
aa51d637fb
Fix typo in Query Methods documentation.
...
Original pull request #1030
2021-08-25 14:31:31 +02:00
Jens Schauder
7dcab94cf7
Prepare 2.3 M2 (2021.1.0).
...
See #1012
2021-08-12 15:02:55 +02:00
Jens Schauder
abefeb83ed
Prepare 2.3 M1 (2021.1.0).
...
See #967
2021-07-16 14:08:58 +02:00
Jens Schauder
d39edb831c
Updated changelog.
...
See #967
2021-07-16 14:08:33 +02:00
Jens Schauder
283fad3016
Updated changelog.
...
See #990
2021-07-16 10:48:16 +02:00
Jens Schauder
340e8c6648
Clarify transactional defaults and recommendations.
...
Closes #1000
2021-07-13 08:19:25 +02:00
Jens Schauder
95b2db5d5f
Applying changes to documentation.
...
As suggested by Jay Bryant.
Original pull request #903
See #578 , #971
2021-07-05 09:12:46 +02:00
Jens Schauder
377d841284
Add documentation for streaming results.
...
Also us Github issue numbers on tests.
Original pull request #903
See #578 , #971
2021-07-02 11:06:56 +02:00
Mark Paluch
d0a1e19099
Updated changelog.
...
See #977
2021-06-22 16:07:24 +02:00
Mark Paluch
b3281b5ae7
Updated changelog.
...
See #976
2021-06-22 15:29:50 +02:00
Jens Schauder
c3e21cc799
Improving the documentation.
...
See #908
Original pull request #983
2021-06-10 14:41:41 +02:00
Jens Schauder
672029d97c
Document the usage of AggregateReference.
...
Closes #934
2021-06-01 14:38:36 +02:00
Mark Paluch
f08b5cae6f
Polishing.
...
Remove superfluous public keyword where not required.
Original pull request #980
2021-05-18 15:16:21 +02:00
Mark Paluch
b3a2925573
Add support for repository query method projections.
...
JDBC repository methods now support interface and DTO projections by specifying either the projection type as return type or using generics and providing a Class parameter to query methods.
Closes #971
Original pull request #980
2021-05-18 15:16:20 +02:00