Define the schema for a temp-table parameter mapped to a java.sql.ResultSet
- Last Updated: January 16, 2026
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Define the schema for a temp-table parameter mapped to a java.sql.ResultSet
TABLE or TABLE-HANDLE
parameter passed as a java.sql.ResultSet is a multi-step process. Note: If you pass a temp-table as an
java.sql.ResultSet parameter you
must access the parameter as a data stream. For more information on accessing temp-tables as
java.sqlResultSet parameters, see Pass Temp-tables as SQL ResultSet ParametersTo define the schema for a temp-table parameter passed as a
java.sql.ResultSet:
-
Define a
com.progress.open4gl.ProResultSetMetaDataImplobject. -
Add field descriptions to the
ProResultSetMetaDataImplobject. -
If the parameter is for input or input-output, define a
java.sql.ResultSetto hold the parameter value. -
Add the
ProResultSetMetaDataImplobject as a temp-table parameter to yourParamArrayobject using the appropriate set parameter method.
Note: You can also pass a temp-table parameter as a
ProDataGraph.
For more information, see Define the schema for a temp-table parameter mapped to a ProDataGraph.