HbnContainer with ternary association

Hello everyone,

I have the following pojos (for Hibernate):

  • User
  • Survey
  • Role
  • SurveyUserRole used for the ternary association between user, survey and role (users can participate in different surveys with different roles)

What i want is a table containing the surveys of a user and his role in the specific survey:

Survey Title | Date | Role

Is that possible with HbnContainer? I’m new to vaadin and have no idea how i could do this…

Thanks in advance!