Hi All,
In my config i have this:
<property name="query.substitutions">en-GB 1, es-ES 2</property>

I'm executing a stored procedure that expect an int. I'm getting an
exception because the substitution is not working.
Can i use substitution with stored procedures? This is my code:

string culture = "es-ES";
IQuery query = NHibernateSession.GetNamedQuery(namedQuery)
    .SetString("IdiomId", culture)

Thnks

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to