I tried
@Id
@Column(name = "resource_id",columnDefinition = "uuid") private UUID id;
but nothing works