Java Mailing List Archive

Home » the NHibernate development list »

Re: [NHibernate-development] NH-1098

Fabio Maulo


Replies: Find Java Web Hosting

Author LoginPost Reply
2008/2/25, Luis Ferreira <>:
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.
Fabio Maulo.

P.S. NH introduce parameters to your query in many many cases ... not only for session.Filters...
This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Nhibernate-development mailing list
©2008 - Jax Systems, LLC, U.S.A.