-->
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: Multiple output parameters is stored procedures
PostPosted: Thu Mar 15, 2007 4:46 pm 
Newbie

Joined: Wed Aug 31, 2005 10:41 am
Posts: 10
Location: Colombia
Hibernate version: 3.X

Name and version of the database you are using: DB2/iSeries

Hi. I have the following scenario:
- All my CRUD operations must be done using stored procedures.
- All CUD operations must have two output parameters, VARCHAR, where i must return a result code and a description of the result code.

Actually i am using Hibernate to do most of the Obtject-Table mapping for my querys, but we are handling all the associations between objects and all the CUD operations using the underlying connection of the Session and creating a CallableStatement just to be able of read the 2 output values.

How can i get those values using Hibernate but not JDBC?

Thanks for your help.

_________________
Johannes Correa Lopera
Software Engineer


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.