Standard JDBC 2 management methods
- Last Updated: August 15, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Standard JDBC 2 management methods
The supported standard JDBC 2 management methods include those listed in the following table.
| Method | Description |
|---|---|
void close()
|
Closes the SDOResultSet and releases the underlying SmartDataObject. Any local modifications that have not been sent to the application server are lost when this method is called. |
int findColumn
(String columnName)
|
Returns the column index. |
int getFetchSize()
|
Returns the size (in number
of rows) of the buffer the underlying implementation uses to fetch rows from the
application server. |
void refreshRow()
|
Gets the latest version of
the current row from the database. |
SDOResultSetMetaData getMetaData()
|
Returns the SDOResultSetMetaData object, which is an extension of the JDBC ResultSetMetaData object. |
boolean wasNull()
|
Indicates if the last fetched value from a
getDatatype() method is equal
to the Unknown value (?).This method is especially useful for
methods that return a primitive data type, as in this example where
Because a primitive data type cannot hold the
|