2008/2/25, Luis Ferreira <
lmcpferreira@gmail.com>:
I only use named parameters. Isn't NHibernate itself that sometimes uses positional? I'm pretty sure of that... that's why I get mixed strategies in my generated SQL. Perhaps it is coming from parametrized filters (just a hunch).
NH use positional and users i better if use named.....
NH prefer to use positional to don't introduce "parameters naming restrictions" (if NH use a name for a special matter you can't use the same name).
Because NH use positional, in general, is better if users don't use it.
Bye.
Fabio Maulo.
P.S. NH introduce parameters to your query in many many cases ... not only for session.Filters...