Hibernate 2nd level cache objects that are lazy=false, result in a default fetch=join, is it documented anywhere?
问题 I experience the following apparently undocumented issue, and I want to understand if I did something wrong Did anyone encounter the same issue? Is it really not documented anywhere? or did I miss something? The behavior is this Assume the following mapping <class name="org.sample.Foo" table="foo"> ... <many-to-one name="bar" class="org.sample.Bar"/> </class> <class name="org.sample.Bar" table="bar" lazy="false"> ... </class> First, as a background, Hibernate default value for the fetch