-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: getting error while from store procedure in nhibernate
PostPosted: Mon May 18, 2009 12:30 pm 
Newbie

Joined: Mon May 18, 2009 12:16 pm
Posts: 1
Hi,
I m getting error as "could not execute query [ exec mak1Elements ? ] Name:aa - Value:116 [SQL: exec mak1Elements ?]"
after call sp "mak1Elements " in NHibernate.Actually i m returning particular columns from this sp.and in hm.xml i m returning those properties like..

<sql-query name="mak1Elements_SP" >
<return class="Elements" >
<return-property name="ID" column="nID" />
<return-property name="TagID" column="nTagID" />
<return-property name="TableName" column="cTableName" />
<return-property name="FieldName" column="cFieldName" />
</return>
exec mak1Elements :aa
</sql-query>


but i m getting above error..and its inner exception show next column name from mapping table which we havenot selected from sp..so pls help me out..
Thanks


Top
 Profile  
 
 Post subject: Re: getting error while from store procedure in nhibernate
PostPosted: Fri May 22, 2009 2:01 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
This forum is about Tools not hibernate nor nhibernate core functionallity. Please post in the appropriate forum.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.