This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pass a ROWTYPE parameter to an Oracle Stored Procedure?

 
Marul Vasanth
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I pass a parameter from Java which is declared as %ROWTYPE in the Oracle stored procedure? Is it possible to such an equivalent parameter from java?
This is the stored procedure I would like to call from my Java program
PROCEDURE insert_plan_header (p_capp_plan_rcd IN plan_header%ROWTYPE,
p_new_part_key OUT NUMBER,
p_new_plan_revision IN plan_header.plan_revision%TYPE,
p_batch_change_type IN VARCHAR2,
me_group_code IN plan_header.me_group_code%TYPE)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic