-->
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.  [ 5 posts ] 
Author Message
 Post subject: How to execute oracle stored procedures in Hibernate urgent
PostPosted: Wed Dec 05, 2007 9:31 am 
Newbie

Joined: Thu Aug 30, 2007 1:05 pm
Posts: 7
Location: Bangalore


How to execute Oracle procedures in Hibernate (related to java)

If with a example also.its urgent..



Thanks in advance
Read this: http://hibernate.org/42.htm[/i]

_________________
Kumar Phani


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 05, 2007 5:24 pm 
Beginner
Beginner

Joined: Tue Nov 27, 2007 9:44 am
Posts: 46
Hi Kumar,

have you read the first two links of this:
http://www.hibernate.org/187.html ?

Another option might be to use the createNativeQuery method of the EntityManager. Haven't tried it though.

Good Luck,
Frank


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 12, 2007 3:07 am 
Newbie

Joined: Thu Aug 30, 2007 1:05 pm
Posts: 7
Location: Bangalore
hi almGhandi,


I am not understanding what u say.
pls suggest me how to proceed if we are using Sys_refCURSOR in Oracle

stored procedure as out parameter.
If you have an examples pls .......let me know

_________________
Kumar Phani


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 12, 2007 8:07 am 
Beginner
Beginner

Joined: Tue Nov 27, 2007 9:44 am
Posts: 46
Hi Kumar,

sorry, but I can't write the application for you. Plus, I am no Oracle expert.

I guess the best way forward is for you to start with reading the documentation and try to get the thing working. If you run into a specifice problem that you cannot solve, you can post it in the forum together with stack traces, source code, configuration data, etc.

Then, someone might be able to help you.

Regards,
Frank


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 29, 2008 4:49 pm 
Newbie

Joined: Tue Jan 29, 2008 3:50 pm
Posts: 6
The hibernate documentation is NOT helpful at all with executing stored procedures.

Very vague..I wonder if it is even possible without having to get a JDBC connection??


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.