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 Stored Procedure
PostPosted: Thu Jan 28, 2010 5:34 pm 
Newbie

Joined: Thu Jan 28, 2010 5:13 pm
Posts: 4
Hi,

I need to call many Stored Procedures in the application (mostly get data procedures). The application uses Spring, Hibernate (with annotations), JSF and Oracle. Could someone let me know the best way to access stored procedures.

1. Using Spring w/o using Hibernate (even though application has it)
2. Using Spring and Hibernate (using Hibernate to access stored procedures)

I would like to know Pros/Cons of above approach

Next,I have seen some examples using procedure access with Hibernate but most of them were simple single table single POJO example. Can someone please share example of framework for the real application scenario - I have one procedure with cursor output having 10 columns from 5 different tables + I have 10 such procedures.

Rocker


Top
 Profile  
 
 Post subject: Re: Calling Stored Procedure
PostPosted: Mon Feb 01, 2010 11:57 am 
Newbie

Joined: Thu Jan 28, 2010 5:13 pm
Posts: 4
Anyone ?


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.