Try OpenEdge Now
skip to main content
Java Open Clients
Using SmartDataObjects from Java Clients : Creating an SDOResultSet object

Creating an SDOResultSet object

Once you instantiate an SDOAppObject, AppObject, or SubAppObject, you can use the object's _createSDOResultSet() factory method to create an SDOResultSet object and associate it with a specified SmartDataObject.
You cannot create an SDOResultSet instance by calling its constructor. The _createSDOResultSet() factory method prepares and calls the SDOResultSet constructor based on the AppServer connection maintained by the associated AppObject.
The capabilities of SmartDataObjects provide several options for presenting data. You can pass parameters to the _createSDOResultSet() method that enable one or more of these options.
* The _createSDOResultSet() method
* Setting and getting values on the SDOParameters object
* Understanding SDOResultSet scrolling modes
* Understanding SDOResultSet stateless mode