Tagged: hibernate mysql uuid

string-uuid-hibernate-mysql 3

How to use String UUID in Hibernate with MySQL

Using a unique ID for columns in a table is important. Besides the auto-increment option, we can use the Java UUID column, however, if we want it to be human-readable we need to store it in a VARCHAR column. This can be easily done using the @Type annotation in Hibernate