avatar
r*y
1
I want to pass a array of strings in java program to a stored procedure as parameter? Are there some one who have such kind of development experience?
I will appreciate it of some one can share some experience with me.
Thanks for your attention and have a nice weekend.
avatar
st
2
what kind of array? what database? I think with oracle, you cna easily do it.

【在 r******y 的大作中提到】
: I want to pass a array of strings in java program to a stored procedure as parameter? Are there some one who have such kind of development experience?
: I will appreciate it of some one can share some experience with me.
: Thanks for your attention and have a nice weekend.

avatar
r*y
3
Array of string need to be passed to oracle stored procedure.
Could you kindly give me some instructions or sample on this issue.
Thanks a lot.

it.
as parameter? Are there some one who have such kind of development experience?

【在 st 的大作中提到】
: what kind of array? what database? I think with oracle, you cna easily do it.
avatar
st
4
http://www.princeton.edu/~storacle/jdbc8_doc/oracle.sql.ARRAY.html
how about this one? we dont use oracle any more, but we migrate from it,
so I saw old code using this.
static public void preArray( CallableStatement call,int index,
java.sql.Array initVal ) throws java.sql.SQLException
{
if( initVal == null )
call.setNull( index, java.sql.Types.ARRAY );
else
call.setArray( index, initVal );
}
that's basically it. as

【在 r******y 的大作中提到】
: Array of string need to be passed to oracle stored procedure.
: Could you kindly give me some instructions or sample on this issue.
: Thanks a lot.
:
: it.
: as parameter? Are there some one who have such kind of development experience?

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。