I am calling stored procedure. I am getting error "Errors in named queries: 
{Get_Vehicle_Details}".

<hibernate-mapping assembly="nhbdemonew" namespace="nhbdemonew.Models" 
xmlns="urn:nhibernate-mapping-2.2">
<sql-query name="Get_Vehicle_Details" callable ="true">
  <query-param name="strVeh_no" type="string" />
  <return class="Vehicle_Details">
  <return-property column="vm_reg_no" name="vm_reg_no"   />
  <return-property column="vm_owner"  name="vm_owner"  />
  <return-property column="vm_owner_type" name="vm_owner_type"   />
  <return-property column="vm_veh_type" name="vm_veh_type"   />
  <return-property column="make_model" name="make_model"   />
  <return-property column="mm_cc" name="mm_cc"   />
  <return-property column="mm_auto_manual" name="mm_auto_manual"   />
  <return-property column="cm_name" name="cm_name"   />
  <return-property column="cm_email_id" name="cm_email_id"  />
  </return>
  exec dbo.Get_Vehicle_Details :strVeh_no
</sql-query>
</hibernate-mapping>

Please help me.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to