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: running inside a stored procedure
PostPosted: Mon Feb 14, 2005 3:25 pm 
Newbie

Joined: Thu Dec 11, 2003 3:27 pm
Posts: 12
I'm rewriting a codebase to use Spring and Hibernate 3. But there's a certain module of code that does a huge amount of database access, and I'm a little wary of migrating that module. That's because it's possible that code will be run in production as an Oracle stored procedure. (Oracle
version is 9i. JDK is 1.4.1.)


I know Oracle stored procedures require a public static method to kick them off, and I'm not worried about writing a simple wrapper to handle that. But I'm not sure how to get Spring/Hibernate code to find the connection provided by Oracle, and I'm not sure how the Oracle resolver will find the mapping files.

I don't want anyone to waste their time providing detailed instructions. I'm really just curious to know if anyone has tried to run Hibernate code in a stored procedure, and if the results were good.

-Chuck


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.