Currently, when I want to use a uuid as the primary key, I need todeclare as:
public class User { @Id public UUID id;}
It works well, but sometimes not convenient. For example, if I want todump a user instance to yaml, or json, the id can't be converted,because they don't know how to convert UUID
I hope ebean can provide an annotation, such as @UUID(or other), thenwe can use String as the type:
public class User { @Id @UUID public String id;}
Is it possible?