Václav Burda
Results
2
comments of
Václav Burda
OK. This is a working java solution. But a better solution (I think) is to generate UUID on the SQL side. ``` @Column(name = "verification_hash") public UUID verificationHash = UUID.randomUUID();...
When the column is a primary key, annotations work as expected, but what to do when the column is NOT the primary key? @GeneratedValue works only with Long value and...