Try OpenEdge Now
skip to main content
Java Open Clients
Passing Parameters : Passing temp-tables and ProDataSets : Mapping temp-table field data types and meta data : Meta data for specifying the ABL data types of temp-table fields
 
Meta data for specifying the ABL data types of temp-table fields
The Java Open Client does support a common mechanism for specifying the ABL data types in the metadata for temp-table fields, whether they are mapped using the OpenEdge ProDataGraph or the SQL ResultSet. This metadata support is provided by the com.progress.open4gl.Parameter class.
Wherever you specify the ABL data type of an individual temp-table field, you can use the Parameter class constants listed in the following table. Thus, the sections of this manual that describe how to create temp-table field metadata refer to the class constants listed here.
Table 8. Parameter class constants for temp-table field metadata
Progress temp-table field data type
com.progress.open4gl.Parameterclass constant
BLOB
PRO_BLOB
CHARACTER
PRO_CHARACTER
CLOB
PRO_CLOB
COM-HANDLE
PRO_COMHANDLE
DATE
PRO_DATE
DATETIME
PRO_DATETIME
DATETIME-TZ
PRO_DATETIMETZ
DECIMAL
PRO_DECIMAL
INT64
PRO_LONG
INTEGER
PRO_INTEGER
LOGICAL
PRO_LOGICAL
RAW
PRO_RAW
RECID
PRO_RECID
ROWID
PRO_ROWID
WIDGET-HANDLE
PRO_WIDGETHANDLE