Have you tried asking on the nhibernate
users<http://groups.google.com/group/nhusers/> mailing
list? Your question is more about NH usage than the FNH mappings.


On Fri, May 21, 2010 at 11:34 PM, lgloria <lester.glo...@gmail.com> wrote:

> I'm using Fluent Nhibernate with the following query on DerivedClass
> which extends BaseClass:
>
> var query =
> Session.CreateCriteria<DerivedClass>().SetLockMode(LockMode.Upgrade)
>
> What I want is the lock hints (updlock, rowlock) to be applied to both
> DerivedClass and BaseClass, but the generated SQL only applies the
> lock hints to DerivedClass:
>
> SELECT * FROM DerivedClass this_ with (updlock, rowlock) inner join
> [BaseClass] this_1_ on this_.Id=this_1_.Id WHERE ...
>
> This is the same situation described in
> http://opensource.atlassian.com/projects/hibernate/browse/HHH-2392
>
> If anyone could point me in the right direction it would be much
> appreciated.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Fluent NHibernate" group.
> To post to this group, send email to fluent-nhibern...@googlegroups.com.
> To unsubscribe from this group, send email to
> fluent-nhibernate+unsubscr...@googlegroups.com<fluent-nhibernate%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/fluent-nhibernate?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibern...@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to