<class name="MyClass" ...>
...
<filter name="myFilter" condition=":myFilterParam = MY_FILTERED_COLUMN"/>
</class>
Filters may do what you need?
session.EnableFilter("myFilter").SetParameter("myFilterParam", "some-value");
On Fri, Sep 26, 2008 at 10:34 PM, Ricardo Borges <[EMAIL PROTECTED]>wrote:
>
> Hi,
>
> One simple question about class mapping: <class where="arbitrary sql
> where condition" (11)
>
> Can we set parameters values?
>
> <class where="property = :valueFromSession"
>
> thanks
>
> >
>
--
Tuna Toksöz
Typos included to enhance the readers attention!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---