Issue
I'm curious to know how auto-generated constraint names are created in spring? As we know, it's identical in various environment after deployment phase. Is it a hashed string?
Solution
As href="https://stackoverflow.com/users/636009/david-conrad">David Codrad suggested, I dug further into the code and came across this code snippet. It seems that before hashing process (by MD5), the name of the table with the names of the columns are attached to each other.
Answered By - x01saa
Answer Checked By - Clifford M. (JavaFixing Volunteer)