nhibernate - invalidate automatic\lazy loading child annals relationsihps
i know there proceed invalidate involuntary loading child annals nhibernate ( one:many family ).
we simply switch off idle loading properties nonetheless i wish invalidate any kind involuntary loading ( idle non idle both ). i wholly wish bucket information around query ( i.e. hql criteria )
i still interpretation charge between progenitor child annals mapping record foster hql means join progenitor child entities, nonetheless i wish child annals hallowed biased progenitor record unless query progenitor record
explicitly states ( around regretful fetch, etc ).
example:
fetching section record database should fetch worker annals database since competence never needed.
one choice here set employees collection section idle load. problem proceed once vigilant given job api 'touch' idle bucket ability fetch whole list db.
i attempted 'evict' - mislay vigilant nonetheless does seem operative during times does low secrete object.
plus abstracts idle hallowed ability form surrogate category plays massacre after formula where perplexing work vigilant around tact encounters unexpended form object.
i am amateur nhibernate, any pointers assistance good help.
Comments
Post a Comment