I\'m using my uuid as following:
@Id @GeneratedValue(generator = \"uuid\") @GenericGenerator(name = \"uuid\", strategy = \"uuid\") @Column(name = \"uuid\", u
@Id @GeneratedValue(generator = "uuid") @GenericGenerator(name = "uuid", strategy = "uuid") @Column(name = "UUID_ID") public String getId(){ return id; }
This is the proper way to use annotation for uuid generators in Hibernate 5.0.11.FINAL.
Note: IT is deprecated.