Ahh, it seems like I've solved it... All I needed to do was to create an alias to the component... Duh! The problem now seems to be that joins won't work for the component. NH insists on loading the referenced types lazy. It's not a problem (it might be a bug though), but at least I've found a solution to my problem :)
On 11 Mar., 18:03, TigerShark <[email protected]> wrote: > Apparently this issue exists in Hibernate as > well:http://forum.hibernate.org/viewtopic.php?p=2379994 > > On 11 Mar., 17:54, TigerShark <[email protected]> wrote: > > > Hm, well... This is really bugging me... > > > Is it really true that I can't do this? > > > The problem is that I'm wrapping several parameters in a method and > > constructing the query there. However, the usage of HQL forces me to > > use string concatenation, which I'd rather not do... :( > > > On 11 Mar., 15:36, Fabio Maulo <[email protected]> wrote: > > > > 2009/3/11 James Gregory <[email protected]> > > > > > That's really quite nice! Has there ever been an attempt to port that > > > > kind > > > > of functionality to Visual Studio? > > > > I have post something about that in the first post about > > > NHV.Loquacioushttp://fabiomaulo.blogspot.com/2009/02/nhvloquacious-fluent-configura... > > > (check links) > > > -- > > > Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
