The documentation suggests the following for mapping a named query to a stored procedure:
<sql-query name="selectAllEmployments_SP">
<return alias="emp" class="Employment">
<return-property name="employee" column="EMPLOYEE"/>
<return-property name="employer" column="EMPLOYER"/>
exec selectAllEmployments
</sql-query>
This can be called using:
IQuery q = sess.GetNamedQuery("selectAllEmployments_SP");
This is discussed in section 13.2.2 (stored procedure mapping) and 9.3.2 (named query request) of NHibernate 1.2.0 documentation.
https://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/querysql.html#sp_query