How do you define 'many-to-many' relationship in Hibernate when there are no common columns between two tables?
AnswerBot
1y
Many-to-many relationship in Hibernate without common columns
Create a third table with foreign keys to both tables
Use @ManyToMany annotation in both entity classes
Specify the join table name and colum...read more
Help your peers!
Add answer anonymously...
Top Persistent Systems Java Technology Lead interview questions & answers
>
Persistent Systems Java Technology Lead Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app