For anyone that may need a solution there is an interesting article that hints towards a solution...
http://www.nablasoft.com/alkampfer/index.php/2008/08/12/inspecting-nhibernate-metadata/ On Mon, Aug 3, 2009 at 3:28 PM, Liviu U<[email protected]> wrote: > No, HQLQueryPlan is not it... > Unfortunately... > > On Mon, Aug 3, 2009 at 2:30 PM, Liviu U<[email protected]> wrote: >> It seems that somehow HQLQueryPlan can do the trick...I am still >> investigating. >> >> On Mon, Aug 3, 2009 at 1:36 PM, Liviu U<[email protected]> wrote: >>> Any hints how to get to the classmetadata? >>> I googled for this but without success :( ... >>> >>> On Mon, Aug 3, 2009 at 11:57 AM, Tuna Toksoz<[email protected]> wrote: >>>> 1. yes >>>> 2. yes, via ClassMetadata on SessionFactory, perhaps. >>>> >>>> Tuna Toksöz >>>> Eternal sunshine of the open source mind. >>>> >>>> http://devlicio.us/blogs/tuna_toksoz >>>> http://tunatoksoz.com >>>> http://twitter.com/tehlike >>>> >>>> >>>> >>>> >>>> On Mon, Aug 3, 2009 at 11:41 AM, ursuletzu <[email protected]> wrote: >>>>> >>>>> 1) hi, is it possible to write this with hql? >>>>> >>>>> "select m.Name, n.Child.Name from Model m" and get just two fields? >>>>> >>>>> 2) Is it possible to get the mapping information that was resolved for >>>>> this hql query? >>>>> >>>>> That is to now that the columns represent m.Name and n.Child.Name? >>>>> >>>>> Thank you very much... >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>>> >>> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
