Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我找不到使 VO 为空的方法。
在集合中它相当简单
arrayList.clear();
但是VO中没有类似的方法。
没有正常的方法名称,因为 VO 可以有很多行集。例如,您可以将具有不同参数的查询结果放在不同的行集中,然后同时使用它们。VO 实际上是一个列表的列表,因此所有 VO 方法的命名都不同。
单线解决方案
vo.executeEmptyRowSet();
如果您需要单独处理每一行
vo.reset(); while (vo.hasNext()) { oracle.jbo.Row row = vo.next() handleRow(row); row.remove(); }