Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to call the stored procedures using Hibernate

 
Rajendra Lella
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I want to know how I can run a stored procedure using hibernate 3.0 , please provide me if any artice on that

Thanks & Regards,
Rajendra
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here you go.
 
Rajendra Lella
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Sturrock wrote:Here you go.


Thanks Paul, I have read the document, But I want some small piece of code for more under standing

regards,
Rajendra
 
Vivek Singh
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajendra Lella wrote:Hi ,

I want to know how I can run a stored procedure using hibernate 3.0 , please provide me if any artice on that

Thanks & Regards,
Rajendra


Hi what is stored procedure?. Please don't provide the link of the hibernate.documentation(Provided by Paul).

How is it different from Named-Queries?
 
Christian Dillinger
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A stored procedure is a piece of code that runs inside you database. Named queries are "normal" SQL-statements that are predefined on the client side.
 
Rajendra Lella
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Christian Dillinger wrote:A stored procedure is a piece of code that runs inside you database. Named queries are "normal" SQL-statements that are predefined on the client side.

Hi Christian,

Thanks for your reply, What I want exactly is will Hibernate work efficiantly with stored procedure?
What are all the data bases it will support?
Is there any article for that

Thanks & Regards,
rajendra
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic