Change integral version seed value to 1 #5492
Replies: 1 comment 6 replies
-
I mean, I'm totally in favor of this, but it would make Hibernate incompatible with its own data. I mean, if you had an existing database with rows with version |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The idea is to change the version seed value from 0 to 1. I also think that we should treat a primitive version value of 0 (i.e. the JVM default) like a
null
and inject the seed value in this case. This will help to make sure that primitive versions behave the same way as wrapper versions. See #5481 for some background.Conclusion: Won't do
Beta Was this translation helpful? Give feedback.
All reactions