Try OpenEdge Now
skip to main content
Java Open Clients
Using the Open Client Java OpenAPI to Directly Access the AppServer : Setting up parameters : Defining the schema for temp-tables in a ProDataSet
 

Defining the schema for temp-tables in a ProDataSet

Defining the schema for a temp-table (ProDataObject collection) in a ProDataSet is a multi-step process.
Note: This is a condensed description with reference to the Java OpenAPI. For complete information on defining the schema temp-tables in a ProDataSet parameter, see Accessing ABL ProDataSets.
To define the schema for a temp-table in a ProDataSet:
1. Define a com.progress.open4gl.ProDataObjectMetaData object to hold the schema.
2. Add field descriptions to the ProDataObjectMetaData object.
3. Add the ProDataObjectMetaData object to the ProDataGraphMetaData for the ProDataSet.
* Defining a ProDataObjectMetaData object
* Adding field descriptions to the ProDataObjectMetaData object
* Adding the ProDataObjectMetaData object to the ProDataGraphMetaData