Standard methods in the ProResultSetMetaData class
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The ProResultSetMetaData class has
the following standard public methods, which allow you to view the
elements of ABL array fields as individual columns, using the flat
model:
The following methods are part of the standard java.sql.ResultSetMetaData interface
and are useful if the client wants to write standard code that could
access any JDBC ResultSet:
|
|
|
The getColumnType() method returns an int constant
for the standard SQL types as shown in the following table. The SQL
data type column in the table shows the type names as specified
by the java.sql.Types class. For example:
|
The getColumnTypeName() method returns the corresponding
ABL data type names shown in the following table under ABL data
type.
| ABL data type | SQL data type |
|---|---|
BLOB
|
BLOB
|
CHARACTER
|
LONGVARCHAR
|
CLOB
|
CLOB
|
COM-HANDLE
|
BIGINT
|
DATE
|
DATE
|
DATETIME
DATETIME-TZ
|
TIMESTAMP
|
DECIMAL
|
DECIMAL
|
INT64
|
BIGINT
|
INTEGER
|
INTEGER
|
LOGICAL
|
BIT
|
RAW
|
VARBINARY
|
RECID
|
BIGINT
|
ROWID
|
VARBINARY
|
WIDGET-HANDLE
|
BIGINT
|