Clones of the RowSet Service

From Apache OpenOffice Wiki
Jump to: navigation, search



Occasionally, a second or third RowSet that operates on the same data as the original RowSet, is required. This is useful when the rows should be displayed in a graphical representation. For the graphical part a clone can be used which only moves through the rows and displays the data. When a modification occurs on one specific row, the original RowSet can be used to do this task.

The new clone is an object that supports the service com.sun.star.sdb.ResultSet if it was created using the interface com.sun.star.sdb.XResultSetAccess of the original RowSet. It is interoperable with the RowSet that created it, for example, bookmarks can be exchanged between both sets. If the original RowSet has not been executed before, null is returned.

Data access of RowSet and clone
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages