If we have two classes X and Y that have OneToOne relationship between them
class A {
@OneToOne(mappedBy = a)
private B b;
}
class B {
@OneToOne
private A a;
}
I would like to know if it makes any difference if we method the mappedBy
from Class A to Class B..