What is a unidirectional relationship?



What is a unidirectional relationship?..

Answer / Rahul Chandra

A Unidirectional Relationship is a type of relationship in Hibernate where only one entity has a direct reference to the other. The owning entity manages its relationship with the related entity, and the related entity does not have any knowledge of the relationship. This simplifies the mapping configuration but may lead to less efficient queries compared to Bidirectional Relationships.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is orm tool?

1 Answers  


What is a meant by light object mapping?

1 Answers  


What is difference between hibernate and jpa?

1 Answers  


What is composite key in hibernate?

1 Answers  


Name some important interfaces of Hibernate framework?

1 Answers  


What’s the usage of configuration interface in hibernate?

1 Answers  


Mention two components of hibernate configuration object.

1 Answers  


What are different core interfaces of hibernate framework?

1 Answers  


What is the difference between get and load method?

1 Answers  


Can we create multiple sessionfactory in hibernate?

1 Answers  


What is embeddable in hibernate?

1 Answers  


What does the session object hold?

1 Answers  


Categories