-->
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: calling storedproc with 2 out parameters using hibernate
PostPosted: Thu Dec 25, 2008 10:17 am 
Newbie

Joined: Thu Dec 25, 2008 10:04 am
Posts: 1
Hi,
M using hibernate with oracle. I have to call a stored procedure with two output parameters. I have used session.connection().prepareCall to execute the stored procedure . Iam getting statement already closed error. Is there any other way to call a stored procedure with register out parameter. Thanks for ur help in advance


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 29, 2008 11:05 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Have you read the documentation?

http://www.hibernate.org/hib_docs/v3/reference/en-US/html/querysql-namedqueries.html#sp_query

Maybe it will help.


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.