top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to implement Joins in Hibernate?

0 votes
478 views
How to implement Joins in Hibernate?
posted Sep 8, 2017 by Mantosh Dubey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

There are various ways to implement joins in hibernate.

Using associations such as one-to-one, one-to-many etc.
Using JOIN in the HQL query. There is another form “join fetch” to load associated data simultaneously, no lazy loading.
We can fire native sql query and use join keyword.

answer Sep 11, 2017 by Sonali Gupta
Similar Questions
+1 vote

We have an application wherein we want to keep separate database for each client. We want to achieve this using multi tenancy approach. A working example will be highly appreciated.

...