class %SQL.Gateway.JDBCResultSet
extends %SQL.IResultSet
This class replaces %Library.JGWResultSet. It implements the result set interface for the
current result set of a JDBC Gateway connection. Most often this class will be used by
a linked procedure as a temporary container that is immediately copied into a static result
set.
property %Data
[ MultiDimensional ];
property %hstmt
as %String;
method %Get(colname As %String = "")
as %Library.String
Returns the value of the column with the name name in the current row of the result set.
If name is not a valid column name, this method returns an empty string.
method %GetData(colnbr As %Integer)
as %Library.String
Returns the value of column colnbr in the current row of the result set.
method %Next(ByRef sc As %Library.Status = $$$OK)
as %Library.Integer
Advance to the next row in the result referenced by %ProcCursor. Returns 0 if the cursor is at the end of the
result set. An optional argument contains a %Library.Status value on return. This %Status value
indicates success or failure of the %Next call. %SQLCODE is also set by %Next.
This implementation is overridden by classes that implement the result set interface.