JPA 2.0 / Hibernate: Why does LAZY fetching with “@OneToOne” work out of the box?
my question is regarding JPA 2.0 with Hibernate, @OneToOne relationships and lazy loading. First my setup: Spring 3.0.5.RELEASE SprnigData JPA 1.0.1.RELEASE Hibernate 3.5.2-Final DBMS: PostgreSQL 9.0 I recently came across the fact, that a @OneToOne relationship can't be fetched the lazy way (FetchType.LAZY), at least not without byte code instrumentation, compile time weaving or the like. Many sites out there say this, for example: http://community.jboss.org/wiki/SomeExplanationsOnLazyLoadingone-to-one http://justonjava.blogspot.com/2010/09/lazy-one-to-one-and-one-to-many.html Making a