Interface Repository

Module TabularResults

This module defines CORBA IDL constants and types for dynamic result set handling, with the intention of supporting easy conversion from and to java.sql.ResultSet (or jdbc.sql.ResultSet for JDK 1.0.2).

No interface types are defined for result set handling. When an operation returns a result set, the entire result set must be transmitted from server to client before the client can begin processing the results.

This approach has the potential to be much more efficient in a wide-area network environment than the use of interface types, which would result in a large number of small requests from client to server to fetch an entire result set. It is also preferable to streaming the result set into an octet sequence, since the IDL language mappings for the ResultSet type allow for convenient manipulation of result set data and meta-data.

If a client requires the ability to process some results before all the results have been transmitted, the result set can be explicitly broken into batches by the server programmer using an IDL interface such as:

     interface SampleInterface
     {
         TabularResults::ResultSet operationWhichReturnsResultSet(...);

         TabularResults::ResultSet getMoreResults();
     };
 

Constant Index

Type Index

Constants

Types


Generated by Sybase IDL Compiler 6.0