• Post Reply Bookmark Topic Watch Topic
  • New Topic

StoredProcedure  RSS feed

 
kri shan
Ranch Hand
Posts: 1487
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My StoredProcedure located on the Oracle DB. It has select statement.
I want to call this StoredProcedure thru my java code and form the ResultSet. How can i do that?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With a java.sql.CallableStatement. Read the JavaDocs.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Ben.

I wonder if this will happen everytime I can't be bothered posting a URL? I could get very lazy...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!