This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JDBC and the fly likes How to pass a ROWTYPE parameter to an Oracle Stored Procedure? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to pass a ROWTYPE parameter to an Oracle Stored Procedure?" Watch "How to pass a ROWTYPE parameter to an Oracle Stored Procedure?" New topic
Author

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

Marul Vasanth
Greenhorn

Joined: Aug 29, 2003
Posts: 1
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)
 
Consider Paul's rocket mass heater.
 
subject: How to pass a ROWTYPE parameter to an Oracle Stored Procedure?