Java Mailing List Archive

http://www.gg3721.com/

Home » the NHibernate development list »

Re: [NHibernate-development] NH-1098

Fabio Maulo

2008-02-25

Replies: Find Java Web Hosting

Author LoginPost Reply
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...
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nhibernate-development mailing list
Nhibernate-development@(protected)
https://lists.sourceforge.net/lists/listinfo/nhibernate-development
©2008 gg3721.com - Jax Systems, LLC, U.S.A.