Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHHH-14055 - Add UUID support for fields annotated with @RevisionNumber #3425
Conversation
Add fallback check if the field type is of type java.util.UUID Update corresponding MappingException message
@Naros you are much better versed in envers than I... what do you think? |
Actually this is one of the main reasons to ask for this feature - need unpredictable id sequence for revisions. On the other hand fits better in distributed environment. |
When a contract explicitly says "should do X" and something explicitly
breaks that contract... I like to have an expert explain the ramifications.
Whether using a UUID would work better in distributed environment, it is
irrelevant if the code-base truly expects sequentiality. So let's just
wait to hear from Chris
…On Tue, Jun 2, 2020 at 8:13 AM Borislav Banchev ***@***.***> wrote:
@RevisionNumber explicitly says that "values of this property should form
a strictly-increasing sequence of numbers". A UUID obviously does not fit
that description.
@Naros <https://github.com/Naros> you are much better versed in envers
than I... what do you think?
Actually this is one of the main reasons to ask for this feature - need
unpredictable id sequence for revisions. On the other hand fits better in
distributed environment.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3425 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABZIE354XZZVZ7PQRFHIIDRUT3H3ANCNFSM4NQWXYEQ>
.
|
bbanchev commentedJun 2, 2020
Add fallback check if the field type is of type java.util.UUID
Update corresponding MappingException message