resultset
- 网络结果集
-
Obviously , a stored procedure doesn 't have to return a resultset .
显然,存储过程不一定非要返回结果集。
-
The appropriate resultset is calculated and then returned .
数据库会计算出适当的结果集然后返回它们。
-
Use an updatable ResultSet to retrieve and UPDATE one row at a time .
使用可更新的ResultSet一次仅获取和UPDATE一个行。
-
The key concept is the introduction of a new , special row in the ResultSet , called the insert row .
主要思想是把一个特殊的新行引入到ResultSet中,称为insertrow。
-
Each value retrieved via the enumerator should correspond with one row of the resultset .
通过枚举器检索的每个值都应与结果集的一行对应。
-
This is ideal when the entire resultset is not actually required , since it more effectively uses the available memory .
当实际上并不需要整个结果集时,这将是理想的,因为它能够更有效地使用可用内存。
-
One other important point is that you can continue to work with an updateable ResultSet after inserting new rows .
另一个重要的要点是在插入新行之后可以继续使用可更新的ResultSet。
-
JDK6.0 also provides updater methods in the ResultSet interface to update SQLXML values .
JDK6.0Beta还在ResultSet接口中提供了一些updater方法来更新SQLXML值。
-
Move the ResultSet cursor to insert a row .
可以移动ResultSet游标来插入一个行。
-
Again , this is very similar to a ResultSet .
再一次强调,这和ResultSet十分相似。
-
Next , you learned how to achieve similar functionality from within a Java program by creating an updateable ResultSet .
接下来,学习了通过创建可更新的ResultSet在Java程序中实现类似的功能。
-
As you may imagine , a common business need is to modify specific column values as you iterate through the rows in a ResultSet .
正如您想象的那样,常见的业务需求是在循环访问ResultSet中的行时修改特定的列值。
-
In this example , that 's before the first row , so a call to the next () method retrieves the first row in the ResultSet .
在本例中,那是在第一行之前,因此调用next()方法将检索到ResultSet中的第一行。
-
Underneath , you can visualize a JDBC ResultSet object being returned and its contents being passed into a for loop .
在底层,您可以看到返回了JDBCResultSet对象,它的内容被传递进for循环。
-
The next few sections demonstrate how you can use the JDBC API to selectively update , delete , or insert new data into a ResultSet .
接下来的几个部分将演示如何使用JDBCAPI有选择性地更新、删除数据或把新数据插入ResultSet中。
-
But what if the languages are stored in a java . io . File ? How about a JDBC ResultSet ?
但是如果语言存储在java.io.File,那该怎么办?
-
The next step is to create the updateable ResultSet , which is the equivalent of using the GET CURSOR command within the ij tool .
下一步是创建可更新的ResultSet,方法为在ij工具内使用GETCURSOR命令。
-
Then we can populate the new row using update methods given to us by our parent ( or more appropriately , our grandparent ) ResultSet interface .
然后,我们可以用“父(更确切地说是‘祖父’)ResultSet接口”给予我们的更新方法来填充新行。
-
When writing Java code to create the updateable ResultSet , the only change you need to make is to pass two parameters into the createStatement () method .
当编写Java代码来创建可更新的ResultSet时,您需要做出的惟一更改是把两个参数传递到createStatement()方法中。
-
The ResultSet allows you to iterate over each QuerySolution returned by the query , providing access to each bound variable 's value .
ResultSet支持在查询返回的每个QuerySolution上进行迭代,这提供了对每个绑定变量值的访问。
-
The SQL Maps framework will create a PreparedStatement instance , set any parameters using the provided parameter object , execute the statement , and build a result object from the ResultSet .
SQLMaps框架将创建一个PreparedStatement实例,使用所提供的参数对象设置所有参数、执行语句以及从ResultSet中构建一个结果对象。
-
The returned object from a query is an ObjectSet , which is similar to a JDBC ResultSet in that it 's a simple container of objects .
查询返回的对象是一个ObjectSet,它类似于一个JDBCResultSet(一个简单的对象容器)。
-
This will re-populate the resultset in the DataSet , so the contents of the DataGrid will automatically be updated .
这将重新填充DataSet中的结果集,因此DataGrid的内容将自动更新。
-
The valid values for these parameters reflect the values supported by the JDBC API ( You can check the supported values by referring to the JDBC ResultSet API page ) .
这些参数的有效值反映JDBCAPI支持的值(可以参考JDBCResultSetAPI页面查看受支持的值)。
-
In order to access all the information returned by a stored procedure call , developers need to register all the output parameters beforehand and assign the result of the call to a ResultSet object .
为了访问存储过程调用返回的所有信息,开发人员需要预先注册所有的输出参数,并将调用的结果赋给一个ResultSet对象。
-
The JDBC API includes many methods you can use to move around within a scrollable ResultSet ( to move around in a forward-only ResultSet , you use the next () method ) .
JDBCAPI包括可以用于在可滚动ResultSet内移动的许多方法(要在只能向前移动的ResultSet中移动,可使用next()方法)。
-
The difference is that the query language is MDX , not SQL , and the result is a multidimensional CellSet , not a ResultSet consisting of rows and columns .
所不同的是,查询语言是MDX而非SQL,而且结果是个多维的CellSet,而不是由行和列组成的ResultSet。
-
Alternatively , to update ResultSet from a current row , in a scrollable ResultSet , move to a ResultSet row with an absolute ( int ) or relative ( int ) method .
此外,要在可滚动的ResultSet中从当前行更新ResultSet,需要使用absolute(int)或relative(int)方法移动到ResultSet行。
-
Results flow from the bottom of the run tree ( leaf nodes ) to the top ( XTree node ) where the result is represented in RSAPI ( Resultset API ) format and can be sent to the report service for rendering .
结果从运行树(叶子节点)流到顶部(XTree节点),其中结果以RSAPI(ResultsetAPI)格式表示,且可被发送到报表服务以供呈现。