Hibernate many-to-many implementation.