Commit Graph

28 Commits

Author SHA1 Message Date
Christoph Strobl
c40c90bc84 Migrate to JSpecify annotations for nullability constraints.
Closes #3745
Original pull request: #3781
2025-05-16 12:25:51 +02:00
Mark Paluch
7f97137ca0 Adopt to deprecation removals in Commons.
Closes #3683
2025-05-16 12:25:45 +02:00
Mark Paluch
6c25ce7cc0 Polishing.
Reformat code.

See #3620
2025-03-19 10:45:31 +01:00
Tran Ngoc Nhan
cdc91d33f6 Polish diamond operator usage.
Closes #3620
2025-03-19 10:45:31 +01:00
Mark Paluch
64042827e8 Extend license header copyright years to 2025.
See #3735
2025-01-08 10:04:42 +01:00
PgmJun
1db98f54d0 Polishing.
Remove unnecessary semicolons DefaultRevisionMetadataUnitTests class.

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

See #3592
2024-10-29 10:25:34 +01:00
Jens Schauder
c4b1c18fc2 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:15 +02:00
Seol_JY
55a3112cb2 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:16 +02:00
Jens Schauder
90a8b15454 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:01:04 +02:00
Jens Schauder
d82c6b1a3d Polishing.
Original pull request #3576
2024-08-19 13:01:00 +02:00
arefbehboudi
a8ef74fe32 Cleaned up EnversRevisionRepositoryImpl the code to enhance readability and maintainability.
Original pull request #3576
2024-08-19 12:59:45 +02:00
Christoph Strobl
e3da2f7c47 Add support for using custom BeanNameGenerator.
Closes: #3440
2024-08-09 10:12:09 +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