由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Urgent!
相关主题
An interesting thing about java generics-do not laugh at me if u think it too basicSpringMVC可否直接处理doGet?
ERROR!java.io.RandomAccessFile.readIntProblem running Oracle stored procedure in Java
BufferedWriter里的write()return type, map or object
how to read registry key value using java (64-bit system)改写(migrate) stored proc 问题
怎样读取修改一个csv fileJava call stored procedure的一个问题
这段程序的输出是什么? 为什么探讨一个java, sql设计问题
问一个Java的问题,关于create generic array为什么call hibernate service 要比直接用store procedures慢啊?
问个简单的Java技术问题JDBC/stored procedure读取性能问题
相关话题的讨论汇总
话题: some话题: initval话题: urgent话题: experience话题: array
进入Java版参与讨论
1 (共1页)
r******y
发帖数: 7
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.
st
发帖数: 1685
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.

r******y
发帖数: 7
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.
st
发帖数: 1685
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?

1 (共1页)
进入Java版参与讨论
相关主题
JDBC/stored procedure读取性能问题怎样读取修改一个csv file
如何连接数据库的stored procedure这段程序的输出是什么? 为什么
how do I get parameters passed by text area (form问一个Java的问题,关于create generic array
A design for parameter passing问个简单的Java技术问题
An interesting thing about java generics-do not laugh at me if u think it too basicSpringMVC可否直接处理doGet?
ERROR!java.io.RandomAccessFile.readIntProblem running Oracle stored procedure in Java
BufferedWriter里的write()return type, map or object
how to read registry key value using java (64-bit system)改写(migrate) stored proc 问题
相关话题的讨论汇总
话题: some话题: initval话题: urgent话题: experience话题: array