22 Commits

Author SHA1 Message Date
Mark Paluch
31173825c3 Extend license header copyright years to 2025.
See #3731
2025-01-08 09:55:57 +01:00
PgmJun
c9aa45e95f Polishing.
Remove unnecessary semicolons DefaultRevisionMetadataUnitTests class.

Original pull request: #3670
Closes #3669
2024-11-14 10:26:00 +01:00
Mark Paluch
e414b0924a Polishing.
Remove warnings.

See #3592
2024-10-29 10:25:41 +01:00
arefbehboudi
bc9ebb7927 Cleanup code.
Closes #3592
2024-10-29 10:15:52 +01:00
Jens Schauder
4a029245c9 Sort revisions by timestamp and revision number.
Sorting by revision number alone failed for distributed systems using batched sequences for revision numbers.

Closes #3643
See #3579
2024-10-21 14:42:43 +02:00
Seol_JY
2e6e1cf570 Add @Serial annotation to all serialVersionUID fields.
- Enhance code readability and maintainability
- Improve static analysis capabilities
- Ensure proper declaration of serialVersionUID fields

Closes #3584
2024-08-20 14:06:47 +02:00
Jens Schauder
ccbe20878e Sort revisions by revision number.
Timestamps might not be unique, but the revision number "should form a strictly-increasing sequence of numbers".

See https://docs.jboss.org/hibernate/orm/5.2/javadocs/org/hibernate/envers/RevisionNumber.html
Closes #3579
2024-08-19 15:05:46 +02:00
Mark Paluch
5f924440b7 Extend license header copyright years to 2024.
See #3291
2024-01-02 14:41:38 +01:00
Greg L. Turnquist
3b8556bcf4 Polishing.
See #3134
2023-09-05 08:51:58 -05:00
shin-mallang
a4977b2a6f Polishing a switch statement.
See #3134
2023-09-05 08:51:55 -05:00
shin-mallang
20cef9afd6 Polish code using instanceof pattern matching.
See #3134
2023-09-05 08:51:07 -05:00
Greg L. Turnquist
a9f18365d1 Test against Java 21 on CI.
To make this code work with Java 21, delombok the test suite.

Original Pull Request: #2993
2023-06-12 14:59:57 -05:00
Jens Schauder
1bcdbc27e7 Pagination now supports sorting by property.
Closes https://github.com/spring-projects/spring-data-envers/issues/379
Original Pull Request https://github.com/spring-projects/spring-data-envers/pull/381
2023-04-18 09:20:07 -05:00
Greg L. Turnquist
e917cbf02c Polishing.
Related: #2746.
2023-01-24 09:50:39 -06:00
Krzysztof Krason
c510e28fa9 Refactored AssertJ assertions into more readable ones.
Resolves #2746.
2023-01-23 16:16:15 -06:00
Mark Paluch
864c7c454d Extend license header copyright years to 2023.
See #2749
2023-01-02 09:53:31 +01:00
John Blum
b57eb85a23 Remove punctuation in Exception messages.
Closes #2566.
2022-06-08 12:46:50 -07:00
Greg L. Turnquist
48790adebb Align Spring Data JPA annotations with Spring Framework annotations.
Remove @Inherited from Spring Data JPA annotations to align with Spring Framework ones.

Closes #803.
2022-06-08 10:23:30 -05:00
Jens Schauder
a105a1e7e9 Fix lazy loading problem with custom revision entities.
We now unproxy the revision data before trying to access its data.

Closes spring-projects/spring-data-envers/issues/313
2022-03-11 14:34:48 +01:00
Christoph Strobl
57b9b2198b Update copyright year to 2022.
See: #2443
2022-02-17 13:44:01 +01:00
Jens Schauder
d803ff7ede Remove Eclipse Non-Javadoc comments.
Closes #2397
2022-01-21 16:31:06 +01:00
Jens Schauder
0ae3d43502 Merge the Envers repo.
Spring Data JPA is now a multimodule project.
The artifacts build are still separate, except for the documentation which is now a single one.

Closes # 2316
2022-01-21 16:31:05 +01:00