由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - JDBC 求教
相关主题
这二句为什么会抛出ClassCastException异常?want help on RDBMS
oracle的表名如何用变量代替[转载] how to set up the classpath?
Oracle / DB2 问题help! 怎么insert一个多行的string
open cursor for collection?Is there any small free database support Java ?
Re: Web Databasehow to establish sun.jdbc.odbc.JdbcOdbcDriver
ODBC[转载] Whcich DB Software to Install?
Help on JDBC:ODBC SOS[转载] JDBC 解决方案
Is that possible for Applet to access the Oracle?How about JDBC for mysql?
相关话题的讨论汇总
话题: varray话题: number话题: array话题: desc2
进入Database版参与讨论
1 (共1页)
p******g
发帖数: 1
1
How to call stored procedure with two user-defined parameter whose name is
NUMBER_VARRAY. NUMBER_VARRAY is a VARRAY(1000)of NUMBER.The second parameter
is IN OUT.
Should I use sql.types.ARRAY?
some of code as below:
int[] p1arrorj={3,4};
ArrayDescriptor desc2=ArrayDescriptor.createDescriptor("NUMBER_VARRAY",conn);
ARRAY p1arr = new ARRAY(desc2,conn,p1arrobj);
ARRAY p2arr;
OracleCallableStatement ocs =(OracleCallableStatement)conn.prepareCall("{call
procedureName(?,?)}");
ocs.registerOutParameter
1 (共1页)
进入Database版参与讨论
相关主题
How about JDBC for mysql?Re: Web Database
how to get primary key through JDBC?ODBC
ORACLE Pro*C 远程接续一问?Help on JDBC:ODBC SOS
JDBC-ODBC Bridge supporting JDBC API 2.0?Is that possible for Applet to access the Oracle?
这二句为什么会抛出ClassCastException异常?want help on RDBMS
oracle的表名如何用变量代替[转载] how to set up the classpath?
Oracle / DB2 问题help! 怎么insert一个多行的string
open cursor for collection?Is there any small free database support Java ?
相关话题的讨论汇总
话题: varray话题: number话题: array话题: desc2