把光标移到最后一条记录,rs.getRow()取得数组大小
把光标移到第一条记录,再写入int[];
把光标移到第一条记录,再写入int[];
解决方案 »
- java 时间追踪器(EventTracer)
- JAVA和C的集成
- 请问我的 日期 框架 在 火狐能显示日历在 ie 360 为啥不显示
- hibernate.cfg.xml not found
- java转化汉字编码写入到一个文件中去,但转化不完整有乱码,
- 高手 求救
- 如何将数字转换成字符串?
- 用oracle.sql.BLOB的getOutputBinaryStream(),向里面写入一个byte[],接进去的是长度一样的全0,怎么回事?
- 在这么多编程软件中,哪些是语言?哪些是开发工具呢?
- 请问句柄是什么意思?英文怎么讲?
- jdk1.1里的很菜的问题,请大家帮忙
- 怎么样从一个制定的目录中读取所有文件名,然后加入一个JTree控件?
Returns the value of the designated column in the current row of this ResultSet object as an Array object in the Java programming language.
Array getArray(String colName)
Returns the value of the designated column in the current row of this ResultSet object as an Array object in the Java programming language. 如果你的jdbc支持这个方法的话:getFetchSize
public int getFetchSize()
throws SQLException
Returns the fetch size for this ResultSet object.
Returns:
the current fetch size for this ResultSet object
Throws:
SQLException - if a database access error occurs
getArray(int i)方法的用法,与你要达到的目的无关。