filter in HBM is much preferred.

On Thu, Nov 13, 2008 at 2:21 PM, CassioT <[EMAIL PROTECTED]> wrote:

>
> Fabio, Is there another way to filter besides using the filter tag in
> the hbm?
>
> I thought that I could use the OnPrepareStatement event but I don't
> know if
> it is a good idea because I'll have to parse the query to know wich
> table is
> queried, and than make my filter based in that.
>
> Wich one is better? Continue using filter in hbm or start using
> OnPrepareStatement? Do you have a third option?
>
> Thank you.
>
> On 12 nov, 15:23, "Fabio Maulo" <[EMAIL PROTECTED]> wrote:
> > example ?
> >
> > 2008/11/12 CassioT <[EMAIL PROTECTED]>
> >
> >
> >
> > > Hi,
> >
> > > I really need to define a filter in a joined-subclass. What should I
> > > do? Why is this not possible?
> >
> > > Thank you
> >
> > --
> > 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