aspose file tools
The moose likes JDBC and the fly likes how to call stored proc with index-by-varchar table parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "how to call stored proc with index-by-varchar table parameters" Watch "how to call stored proc with index-by-varchar table parameters" New topic
Author

how to call stored proc with index-by-varchar table parameters

weiran zhou
Greenhorn

Joined: Jan 21, 2011
Posts: 1
Hi,

I have a stored proc with input parameter of type:

TYPE token_value_tt IS TABLE OF VARCHAR2(480) INDEX BY VARCHAR2(50);

I have a java map object which stores the key-value pairs which I think the key corresponding to INDEX.

How to pass this java map object into the stored proc using JDBC?

Thanks,
Wei
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2343

Welcome to the Ranch, Wei!


OCUP UML fundamental
ITIL foundation
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to call stored proc with index-by-varchar table parameters
 
Similar Threads
registerOutParameter for table?
CallableStatement Error
passing an array of objects to stored proc(Oracle)
trouble passing array to stored procedure in spring HELP
Passing PL/SQL table from Stored Proc to Java