Hi all,

property mapping:
<property name="xyz" formula=":filterName.filterParamName" />

Even NH documentation describe formula as 'arbitrary SQL expression',
this solution worked until some recent changes in NH 2.1.
Using filter in formulas is generally inspired by Ayende's
localization solution:
http://ayende.com/Blog/archive/2006/12/26/LocalizingNHibernateContextualParameters.aspx

Now, the problem is it does not work anymore with current NH trunk,
fails with both classic and AST parser.
I'm ready to prepare testcase to JIRA (even some issues I described in
nh-devel list, but that does not matter now),
but the main question is:
Are filters in formula generally supported feature which is supposed
to work,
or using them in that way is just 'hack' that would be not supported
in next NH releases ?

Thanks,
Jozef

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to