在java类字典里查一下,不就有了?
解决方案 »
- 问一个小问题
- 看到 下面代码之后 那位能看出多少蛛丝马迹???
- ~~汉字长度的问题```
- java输入流的问题
- 变态的字符char,看不懂了,高人指点~~
- 我以为我懂了,其实我不懂!(package 问题)
- 一个Thinking in Java 的例程仿写,有错误但百思不得其解,高分悬赏中!
- BoxLayout的构造器为什么这样设计?
- why????????关于application中画图的问题!!!!!!!高分求解
- main也能继承下来????????????????????????????????????????????????????????
- java programing language 这本书怎么样,是java之父写的
- 急,如何删除java源文件中的所有注释?........................
ResultSet rs = null;........................
// Create and initialize Cached RowSet object.
OracleCachedRowSet ocrs = new OracleCachedRowSet();
// Create a string that has the SQL statement that gets all the records.
String sqlString = "SELECT empno FROM emp";
// Create a statement, resultset objects.
stmt = conn.createStatement();
rs = stmt.executeQuery(sqlString);
// Populate the Cached RowSet using the above Resultset.
ocrs.populate(rs);
// Point to the last row in Cached RowSet.
ocrs.last(); // Get the row position which is also the number of rows in the Cached
// RowSet.
int rowcount = ocrs.getRow();System.out.println("Total rows for the query using Cached RowSet: "+
rowcount);
// Close the Cached Rowset object.
if (ocrs != null)
ocrs.close();.............