| Author |
Passing a string array as a parameter - urgent
|
Subrahmanyam Devarakonda
Greenhorn
Joined: Oct 26, 2006
Posts: 2
|
|
Hi, We have a stored procedure which takes a synonym as its input parameter. A friend of mine told me pass String[] to your callable statement as a parameter. My post is 1. How to pass a String[] as a parameter to a procedure call? 2. Is there any alternative way to pass values to such a procedure which takes a synonym as a input parameter? Thanks in advance.
|
Courage is the not the strength to go on<br />but to go on when there is no strength
|
 |
Scott Selikoff
Saloon Keeper
Joined: Oct 23, 2005
Posts: 3652
|
|
|
Have you tried setArray() in the PreparedStatement API?
|
My Blog: Down Home Country Coding with Scott Selikoff
|
 |
Subrahmanyam Devarakonda
Greenhorn
Joined: Oct 26, 2006
Posts: 2
|
|
|
Thanks a lot. We are trying it out.
|
 |
 |
|
|
subject: Passing a string array as a parameter - urgent
|
|
|