NHibernate No-Proxy Lazy Load prevents collection from being loaded -
i have class hierarchy i've mapped using table per class hierarchy:
abstractclass | ----------------------------- | | concreteclassa concreteclassb
abstractclass has property of type "status" named "status", , has hashed set of "widgets".
if set laziness of "status" reference "no-proxy", "widget" collection not loaded when effort access it. in addition, concrete subclass proxied.
if laziness of "status" reference set "proxy", "widget" collection lazy loaded, expected.
why setting "no-proxy" on many-to-one reference impact how collections lazy loaded? i'm using nhibernate 3.3.2 ga , fluent nhibernate. database iseries db2, if makes difference.
nhibernate lazy-loading
No comments:
Post a Comment