Define the schema for a temp-table parameter mapped to a ProDataGraph
- Last Updated: August 15, 2021
- 2 minute read
- OpenEdge
- Version 12.2
- Documentation
Define the schema for a temp-table parameter mapped to a ProDataGraph
TABLE or TABLE-HANDLE) parameter passed as a
com.progress.open4gl.ProDataGraph is a multi-step process.
Note: This is a condensed description with reference to the Java
OpenAPI. For complete information on defining the schema for a temp-table parameter mapped
to a
ProDataGraph, see Access ABL ProDataSets.To define the schema for a temp-table parameter passed as a ProDataGraph:
Note: You can also pass a temp-table parameter as a
java.sql.ResultSet. For more information, see Define the schema for a temp-table parameter mapped to a java.sql.ResultSet.This process is almost identical to defining the schema to set up a ProDataSet parameter. The two differences are that you:
- Define only one temp-table in the
ProDataGraphMetaDatato represent the temp-table parameter you are passing. - Must add a temp-table parameter to a parameter array using the
ProDataGraphMetaData, pass theProDataGraphMetaData(and any input or input-outputProDataGraph) to the appropriatesetTable()orsetTableHandle()method (instead of asetDataset()orsetDatasetHandle()method, as for a ProDataSet parameter).
Thus, the ProDataGraph becomes a wrapper
for the actual temp-table parameter value. With these differences in mind, for more
information on the steps to pass a temp-table parameter as a ProDataGraph, see Define the schema for a ProDataSet parameter.
For more information on working with temp-table parameters mapped to a
ProDataGraph, see Access ABL ProDataSets.