Bidirectional Association

Bidirectional association enables us to get subtleties of ward object from both side. In such case, we have the reference of two classes in each other.

Let's take a case of Employee and Address, if Employee class has-a reference of Address and Address has a reference of Employee. Furthermore, you have connected coordinated or one-to-numerous relationship for the classes in mapping document too, it is known as bidirectional association.

Visit our balanced and one-to-many mapping pages to find out about it.






javacodegeeks is optimized for learning.© javacodegeeks .
All Right Reserved and you agree to have read and accepted our term and condition