I have a Spring Boot application which has User and Authority objects. These are joined as follows.
User
Authority
User.java
@OneToMany(mapp