In my SpringBoot application, I have two entities User and Role with
User
Role
public class User { private Long id; private String email;