What is hibernate unidirectional and bidirectional?



What is hibernate unidirectional and bidirectional?..

Answer / Madan Lal

Unidirectional relationships in Hibernate are one-way associations, where the owning side of the relationship only has access to the associated entity. Bidirectional relationships, on the other hand, allow both sides of the association to have direct access to each other.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is difference between jpa and hibernate?

1 Answers  


What is difference between save and persist method in hibernate?

1 Answers  


What is a native query?

1 Answers  


What are the best practices to follow with hibernate framework?

1 Answers  


What is the importance of hibernate mapping file?

1 Answers  


What is the use of cache in hibernate?

1 Answers  


What are the two types of collections in hibernate?

1 Answers  


What is the use of version property in hibernate?

1 Answers  


What is the difference between first level cache and second level cache?

1 Answers  


How can we invoke stored procedures in hibernate?

1 Answers  


What are the identified limitation of hibernate?

1 Answers  


What is hibernate and its advantages?

1 Answers  


Categories