Hi,
in
http://forum.hibernate.org/viewtopic.php?t=958455, it is said that it is possible to use lazy loading for one-to-one mapping by turning 'optional' flag to false.
However, it does not seem to work for me, and there is a comment in
http://www.hibernate.org/162.html stating that it is not possible to use it with JPA.
What is the status? Is it possible?
Note that I annotate attributes and not getters. I guess I should annotate the getter to allow Hibernate to intercept call and check the other side of the relationship exists. Shouldn't I?
Also, I don't understand why Hibernate loads the whole object on the other side of relationships, and not just check that there is 'something'.
Just checking would already help us.
Cheers,
J-F