java - Hibernate Lazy Loading Issue -
i mapped entity in hibernate 5
class { private string code; private b child; @lazytoone(lazytooneoption.proxy) @manytoone(fetch=fetchtype.lazy) @notfound(action=notfoundaction.ignore) @joincolumns({...}) public b getchild() { ... } }
and query load only a is:
from a.code :q
with configuration hibernate makes select on , on b entities. don't want load b a
what missing?
Comments
Post a Comment