-->
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: Problem in executing oracle stored procedures
PostPosted: Thu Nov 02, 2006 12:56 am 
Newbie

Joined: Wed Nov 01, 2006 10:54 am
Posts: 14
I could not access oracle stored procedures in NHibernate.

Always getting error ORA:0900 ‘Invalid SQL statement’

Any samples/help would be appreciated.

When i directly do any manipulation (CRUD) it is working fine. Only if i call the stored procedure i'm facing the above issue.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 4:00 am 
Newbie

Joined: Wed Nov 01, 2006 10:54 am
Posts: 14
I want to concatenate two columns into one column in Select clause. Is this possible.

For example

select b.empid,b.empname,b.deptid,d.deptname from employee b, dept d where b.deptid = d.deptid

Here deptid and deptname should be concatenated as follows
1-Sales


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.