hibernate Unknown integral data type for ids : java.lang.String

Java
@Id @GeneratedValue(generator="system-uuid")
@GenericGenerator(name="system-uuid", strategy = "uuid")
private String myId;
Source

Also in Java: