JPA One to One Bi Directional Mapping using MySQL and Hibernate
In the last post we saw how to define OnetoOne mapping using JPA but it was unidirectional, which means when…
In the last post we saw how to define OnetoOne mapping using JPA but it was unidirectional, which means when…
In this tutorial we will explore how to map two entities. Say we have two entity Employee and Address, every…