I need to map Hibernate from a 1:N
relation to two tables, but there is an associative table that has the ids of the other two tables as columns.
Example:
The Servicos
table can have many Itens
and each item can only be part of a service.
And there is a servicos_itens
table that contains the ID of the other two tables.