Write a SmartDataObject-aware Java client
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
To write a Java client that accesses a SmartDataObject:
- Connect to the application server by instantiating an AppObject or SDOAppObject class.
-
Create an SDOResultSet object based on the specified SmartDataObject, using the
Appobject
._createSDOResultSet()class factory method, where Appobject is the SDOAppObject, AppObject, or an associated SubAppObject instance. - Invoke standard JDBC 2 and extended methods on the SDOResultSet, to query and modify data accessed through the SmartDataObject. See the JDBC documentation.
-
Close the SDOResultSet using the
SDOResultSet.close()method. -
Release the SDOAppObject, AppObject, or SubAppObject using the
Appobject
._release()method.