the trunk? or how i can get bins of NH 2.1.1? On Fri, Aug 28, 2009 at 6:18 PM, Fabio Maulo <[email protected]> wrote:
> Fixed in 2.1.1 > > 2009/8/28 Tiago Soczek <[email protected]> > > Hi guys, >> I've a filter on a bag, when i enable this, the condition are added to ON >> clause and to WHERE clause too, twice conditions. I use the Oracle9iDialect. >> >> <bag name="I18N" lazy="false" cascade="all" fetch="join"> >> >> <key column="MN_ID_MN"></key> >> >> <one-to-many class="MenuI18N" not-found="ignore" /> >> >> >>> <filter name="Culture" condition="Cultura = :CultureName" /> >> >> </bag> >> >> >> Example of SQL generated: >> >> SELECT >> >> /*....*/ >> >> FROM MENU this_, MENU_I18N i18n2_ >> >> WHERE this_.MN_ID_MN = i18n2_.MN_ID_MN(+) >> >> and i18n2_.Culture(+) = :p0 >> >> and i18n2_.Culture = :p1; >> >> :p0 = 'pt-BR', :p1 = 'pt-BR'; >> >> >> I want only in the ON clause, how i can do this? >> >> Thanks. >> >> >> > > > -- > 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 -~----------~----~----~----~------~----~------~--~---
