Commit Graph

368 Commits

Author SHA1 Message Date
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
Mark Paluch
0b40111efc Updated changelog.
See #964
2021-05-14 12:36:34 +02:00
Mark Paluch
bd2e706ea2 Updated changelog.
See #963
2021-05-14 12:06:37 +02:00
Mark Paluch
87d54655cd Prepare 2.2 GA (2021.0.0).
See #955
2021-04-14 14:18:21 +02:00
Mark Paluch
bbe98a7312 Updated changelog.
See #955
2021-04-14 14:18:13 +02:00
Mark Paluch
30d2b0355f Updated changelog.
See #956
2021-04-14 11:43:30 +02:00
Mark Paluch
8fc9b06eea Updated changelog.
See #943
2021-04-14 11:17:38 +02:00
Mark Paluch
02c64013da Polishing.
Fix includes.

Original pull request: #951.
2021-04-13 15:16:19 +02:00
Jens Schauder
140c774c3e Improve documentation of entity state detection.
The use of a version property to determine the state of an entity wasn't properly documented so far.

Closes: #951.
2021-04-13 15:15:41 +02:00
Mark Paluch
d191938e59 Add support for Slice and Page queries using query derivation.
We now support pagination for queries returning Slice and Page.

interface PersonRepository extends PagingAndSortingRepository<Person, String> {

  Slice<Person> findFirstByLastname(String lastname, Pageable pageable);

  Page<Person> findFirstByLastname(String lastname, Pageable pageable);
}

Closes #774
Original pull request #952
2021-04-06 19:20:10 +02:00
Mark Paluch
842b5cd176 Updated changelog.
See #944
2021-03-31 18:30:43 +02:00
Mark Paluch
a69958bd85 Prepare 2.2 RC1 (2021.0.0).
See #941
2021-03-31 17:04:34 +02:00
Mark Paluch
2deb4f39ca Updated changelog.
See #941
2021-03-31 17:04:28 +02:00
zimmse
7a324e9fb5 Fix small typo in dialect section.
Original pull request #953.
2021-03-31 08:52:47 +02:00
Jens Schauder
f20192cc05 Corrects documentation about query derivation.
Closes #947
2021-03-22 11:10:33 +01:00
Mark Paluch
c82497141b Prepare 2.2 M5 (2021.0.0).
See #925
2021-03-17 11:17:26 +01:00
Mark Paluch
6a087ef59b Updated changelog.
See #925
2021-03-17 11:17:15 +01:00
Mark Paluch
09c0d89856 Updated changelog.
See #927
2021-03-17 11:03:38 +01:00
Mark Paluch
60fc36c297 Updated changelog.
See #923
2021-03-17 10:35:11 +01:00