What you need is only put the filter in the related class, not in the
many-to-one.

2010/3/16 snicker <[email protected]>

> I am using 2.1.2.4000. NH throws a MappingException when I put a
> filter element in the many to one element in my mapping. Is there
> something specific I should be doing?
>
>
>
> On Mar 16, 11:31 am, Fabio Maulo <[email protected]> wrote:
> > NH2.1.2
> >
> > 2010/3/16 snicker <[email protected]>
> >
> >
> >
> > > I have seen some posts in the nhibernate-development mailing list
> > > about using filters on Many To One relationships. Can anyone tell me
> > > if this is possible, and in what version of NH? are there workarounds
> > > if not?
> >
> > > --
> > > 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]<nhusers%[email protected]>
> <nhusers%[email protected]<nhusers%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/nhusers?hl=en.
> >
> > --
> > 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]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>


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

Reply via email to