mysql « Association « JPA Q&A





1. hibernate: association with unmapped entity    stackoverflow.com

     table : map__company__branches (company_id int, branch_id int, is_primary_branch tinyint(1))

    public class company
    {
     @ManyToMany(fetch = FetchType.LAZY)
 ...