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.  [ 1 post ] 
Author Message
 Post subject: NHibernate and CreateSQLQuery
PostPosted: Tue Aug 12, 2008 1:45 am 
Newbie

Joined: Tue Aug 12, 2008 1:40 am
Posts: 1
Hi
Could you please advice me how to execute following query:

Code:
ISQLQuery sqlQuery = session.CreateSQLQuery("declare aaa number; Begin aaa := rm_hiber_wrap.create_address(280,'34','7','4','9','3',0); end;");


The problem is that NHibernate consider statement ":=" (colon and equal) as named parameter, and during execution it raise up exception that all named parameters should be defined. How should I force NHibernate to consider ":=" as statement, not named parameter.
TIA (thank in advance)!

P.S. NHibernate version 2.0.0.Alpha2


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

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.